According to lib/python/DateTime/Datetime.py: DateTime objects may be converted to integer, long, or float numbers of days since January 1, 1901, using the standard int, long, and float functions. However <dtml-var "_.float(ZopeTime)"> generates a TypeError. Am I I doing something wrong, or should this be entered in the Collector? -- Stephen Pitts smpitts@midsouth.rr.com webmaster - http://www.mschess.org
Stephen Pitts wrote:
According to lib/python/DateTime/Datetime.py: DateTime objects may be converted to integer, long, or float numbers of days since January 1, 1901, using the standard int, long, and float functions.
However <dtml-var "_.float(ZopeTime)"> generates a TypeError. Am I I doing something wrong, or should this be entered in the Collector?
I think you want <dtml-var "_.float(ZopeTime())"> Ecch. -- Chris McDonough Digital Creations, Inc. Zope - http://www.zope.org
participants (2)
-
Chris McDonough -
Stephen Pitts