-----Original Message----- From: Joachim Schmitz [mailto:perry@ac-copy.net] Sent: Tuesday, July 13, 1999 8:07 AM To: zope@zope.org Subject: [Zope] date arithmetic in DTML
how can I datearithmetic in DTML for example today - 30 days, to search for a date in a db, which is not older than today - 30 days. Where can I find documentation about it ?
<!--#var "ZopeTime() - 30"--> is 30 days previous today. The DateTime module has many, many options like this. I would suggest looking at: lib/python/DateTime/DateTime.py -Michel
Gruß
Joachim Schmitz
WWW-Consultant
email: js@ac-copy.net tel: +49-241-89491-0 fax: +49-241-89491-29
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )