[Zope] What's the difference about ZopeTime() and DateTime() ?

Dieter Maurer dieter@handshake.de
Fri, 11 Jul 2003 20:27:50 +0200


yan zhang wrote at 2003-7-10 12:42 -0700:
 > I can use ZopeTime() in Zope 2.5.1 linux version, but
 > it will give me problem in Zope 2.5.1 win32 version. I
 > try to use DateTime, but got error message eeither.

"ZopeTime" is a method of Zope's "Application" object (this is the
root of your WebSite). Acqisition makes it available to
almost all of your Zope objects.

"DateTime" is a class defined in "DateTime/DateTime.py".
"ZopeTime" uses "DateTime" in its implementation.


Dieter