On Tue, 13 Jul 1999, Michel Pelletier wrote:
-----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
That results in: <!-- Error type: DateTimeError Error value: Unrecognized timezone: --> how is the status of the internationalsationproject ? ;) Gruß Joachim Schmitz WWW-Consultant email: js@ac-copy.net tel: +49-241-89491-0 fax: +49-241-89491-29