Mike Driscoll kyosohma at gmail.com
Tue Oct 7 18:23:06 CEST 2008

On Oct 7, 11:11 am, "Richard Brodie" <R.Bro... at rl.ac.uk> wrote:
> "Gabriel Rossetti" <gabriel.rosse... at arimaz.com> wrote in message
> news:mailman.2124.1223392354.3487.python-list at python.org...
> .
> > I'm a UTC/GMT +1, I tried obtaining the UTC time, it says it's 2 hours earlier than the
> > current time (14:59). I tried various other methods, I still get the wrong time. Does
> > anyone have an idea with what is wrong?
> It would be helpful to specify a named timezone. 2 hours earlier would be
> expected for central Europe, it being summer. Sorry if that's obvious.

There are "tzset" and "tzname" methods to the time module. I've heard
conflicting reports about their effectiveness, but never tried them


More information about the Python-list mailing list