Hi there, This must be simple, but I haven't found it in the docs. Can I get ZopeTime to give me the date, say, 20 days ago ? Or a month ago ? Something like (yes I know this won't work) <dtml-var expr="ZopeTime - 20") Dimitris Andrakakis http://atlas.central.ntua.gr:8000/~mc94068 __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
In article <031701bf9910$ccb08470$78f5dbc2@phobosiixl>, Dimitris Andrakakis <dandraka_info@yahoo.com> writes
Something like (yes I know this won't work) <dtml-var expr="ZopeTime - 20")
<dtml-var "ZopeTime()-20"> ------- Regards, Graham Chiu gchiu<at>compkarori.co.nz http://www.compkarori.com/dynamo - The Homebuilt Dynamo http://www.compkarori.com/dbase - The dBase bulletin
<dtml-var "ZopeTime()-20">
Silly me... Thanks ! Dimitris Andrakakis http://atlas.central.ntua.gr:8000/~mc94068 ----- Original Message ----- From: "Graham Chiu" <anon_emouse@hotmail.com> To: <zope@zope.org> Sent: Wednesday, March 29, 2000 5:23 AM Subject: Re: [Zope] operations with dates
In article <031701bf9910$ccb08470$78f5dbc2@phobosiixl>, Dimitris Andrakakis <dandraka_info@yahoo.com> writes
Something like (yes I know this won't work) <dtml-var expr="ZopeTime - 20")
------- Regards, Graham Chiu gchiu<at>compkarori.co.nz http://www.compkarori.com/dynamo - The Homebuilt Dynamo http://www.compkarori.com/dbase - The dBase bulletin
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
__________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
participants (2)
-
Dimitris Andrakakis -
Graham Chiu