6 Jun
2000
6 Jun
'00
4:40 p.m.
Hey all,
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.
<dtml-var ZopeTime fmt="%Y-%B-%d-%H:%M:%S"> or (preferably as a DateTime.DateTime object) <dtml-call "REQUEST.set('dateTimeObj',ZopeTime())"> PM