Monday 02 May 2005 8:48:48 am
How to compare two dates ? i'd like to do something with an object when his attribute (date) is greater than today, but i don't really know the right syntax something like that :
{let Result=fetch('content','list',
hash('parent_node_id,$node.node_id')}
{section loop=$:Result
show=le(currentdate(),
$:item.object.data_map.date_attribute.data_int)}
... some code ...
{/section}
{/let}
Thank for any solution
|