[Zope] Conversion from unix date

Dennis Allison allison at sumeru.stanford.EDU
Fri Mar 5 14:53:35 EST 2004


It's a epoch date (seconds from 1/1/70).  DateTime has conversion methods 
exposed.  Check the API in The Zope Book.

On Fri, 5 Mar 2004, Ed Colmar wrote:

> 
> I'm sure this has been asked before, but I couldn't get any search hits.
> Hopefully someone could point me in the right direction.
> 
> I have a date field that looks like 1076754860
> 
> How can I convert this out to a regular date?
> 
> Thanks
> 
> -ed-
> 
> -- 
> Green Graphics   :::   Print and Web Design   :::   510.923.0000
> 
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 




More information about the Zope mailing list