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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 ?!