strptime and timezones

Christian Heimes lists at cheimes.de
Wed Aug 13 13:26:47 EDT 2008


Tom Anderson wrote:
> Secondly, do you really have to do this just to parse a date with a 
> timezone? If so, that's ridiculous.

No, you don't. :) Download the pytz package from the Python package 
index. It's *the* tool for timezone handling in Python. The time zone 
definition are not part of the Python standard library because they 
change every few of months. Stupid politicians ...

Christian



More information about the Python-list mailing list