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.  [EMAIL PROTECTED]   
"It don't get thingier than that!"

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to