Forums / Developer / Why this doesn`t work ?? (if statment)

Why this doesn`t work ?? (if statment)

Author Message

Selmah Maxim

Wednesday 25 June 2003 2:08:38 am

{set-block name=Days scope=global variable=Value}
{floor(div(sub($ActiveToDate,currentdate()),86400))} {/set-block}

{section show="$Days:Value"|lt(0)}
--------->{$Days:Value}
{/section}

the $Days:Value equal -3 , and is not showing up the result ?

any clew ?!