[Zope] Date/Time confusion.

Soren Roug soren@roug.org
Wed, 19 Apr 2000 16:31:20 +0200


strftime returns the date and time in GMT. I was also confused in the
beginning. Now i'm just annoyed by this "feature" :-)

Steve Drees wrote:
> 
> I suspect I'm not understanding something. Can someone explain the
> following?
> 
> DTML Method
> -------------------------------------
> 
> <dtml-var "ZopeTime().toZone('CST')">
> 
> <dtml-var "ZopeTime().toZone('CST').strftime('%m/%d/%Y - %H:%M')">
> 
> Output
> --------------------------------------
> 
> 2000/04/18 14:31:41.4125 Us/Central
> 
> 04/18/2000 - 19:31
>