How to contruct "0:00, yesterday"?

How to contruct "0:00, yesterday"?

Monday 03 November 2003 1:50:49 pm - 1 reply

Author Message

Paul d

Monday 12 December 2005 10:33:38 am

Hi,

I use this code for 24hs ago:

{def $today_ts = currentdate()}
{def $yesterday = sub($today_ts,86400)}

Regards,
Pd

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.