[Zope] Re: ZopeTime

John Goerzen jgoerzen@complete.org
08 Sep 1999 13:51:43 -0500


Excellent, this is one thing that I need!  Next one is, where should I 
have looked in the documnetation to find this?

-- John

Evan Simpson <evan@4-am.com> writes:

> Note that you can convert standard epoch time values (such as Confera
> "created" and "modified") or well-formatted date/time strings into
> DateTime objects by passing them to "_.DateTime()".  Then you can apply
> any of the zillions of formatting and datetime arithmetic operations to it
> easily.  For example:
> 
> <dtml-var "_.DateTime(adatestring) + 5" fmt="%m/%d/%y">
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
> 

-- 
John Goerzen   Linux, Unix consulting & programming   jgoerzen@complete.org |
Developer, Debian GNU/Linux (Free powerful OS upgrade)       www.debian.org |
----------------------------------------------------------------------------+
The 193,760th digit of pi is 6.