In other words I have to do some arithmetic: >>> import time >>> time.timezone 0
The server is located in Dallas, Texas. On Wed, 26 Jan 2005 15:44:48 +1300, Tony Meyer <[EMAIL PROTECTED]> wrote: > > time.timezone gives you, I think, the offset between > > your current timezone and GMT. However, being myself in the GMT zone, > > I don't know exactly if the returned offset is positive or negative > > (it returns 0 here, which makes sense :D ). > > Whether or not it's positive or negative depends on which side of GMT/UTC > you are, of course :) Note that the result in is seconds, too: > > >>> import time > >>> time.timezone > -43200 > >>> time.timezone/60/60 > -12 > > (I'm in NZ, 12 hours ahead of GMT/UTC). > > =Tony.Meyer > > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor