[Zope] Time Conversion

Trevor Toenjes zope@toenjes.com
Mon, 25 Feb 2002 22:15:37 -0500


it is not necessary to add the 3 hours.  Zope/python has a built in way to
handle time zones conversions.
In your case...toZone('EST')

Check out the Zope Book Appendix for more.
-Trevor

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tom
> Scheidt
> Sent: Monday, February 25, 2002 7:16 PM
> To: Zope List
> Subject: [Zope] Time Conversion
>
>
>
> My Zope server is on the west coast but I'm on the east coast. I'd like to
> be able to add 3 hours to date strings ala:
>
> <dtml-var time + 3hours fmt="pCommonZ">
>
> Any quick solutions? Thanks in advance.
>
> Tom Scheidt
> tom@falsemirror.com
> www.falsemirror.com
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )