Timezone

Alex Martelli aleaxit at yahoo.com
Tue Jul 31 09:30:01 EDT 2001


"John W. Baxter" <jwbaxter at spamcop.com> wrote in message
news:300720010913055359%jwbaxter at spamcop.com...
> In article <3B64B34C.6D8BEBE6 at tundraware.com>, Tim Daneliuk
> <tundra at tundraware.com> wrote:
>
> > Actually, this raises an interesting question, which perhaps the
resident
> > geniuses
> > can 'splain to me.  Here in Chicago, we're currently 6 hourse or 21,600
sec
> > *behind*
> > UTC.  Why does time.timezone return 21600, not -21600?  It seems that
for
> > arithmetic reasons, you'd want to know both the magnitude and direction
of
> > this vector...
> >
> > Inquiring minds wanna know ;)
>
> Actually, you're currently at 5 hours from GMT...you're 6 during the
> winter.  time.timezone appears to be returning the zone without regard

Hmmm, are you sure?  The US *East* coast is 6 hours from GMT in the
Winter, but isn't Chicago one of the "middle" coasts (the one on
the Great Lakes -- the other middle one being the Gulf) and therefore
one hour further Westwards?


Alex






More information about the Python-list mailing list