[Zope] Current date in DTML

Itamar Shtull-Trauring itamar@maxnm.com
Tue, 06 Jun 2000 19:48:55 +0300


Ivan Raikov wrote:

> How can I get the current date & time (preferably as a
> DateTime.DateTime object) in DTML? I cannot instantiate a DateTime
> object, because the DateTime module is not imported.

It is in _.DateTime.  Plus, ZopeTime() should return the current time and
date:
<dtml-var ZopeTime>

-- 
Itamar S.T.  itamar@maxnm.com   
"It don't get thingier than that!"