time module & ISO dates

Gerald Gutierrez gutier at intergate.bc.ca
Tue Feb 1 01:06:48 EST 2000


Hi all.

Is there any way to get the standard Python time module to properly parse full
ISO-8601 dates, such as "2000-01-31T22:07:43-0800"? strptime() ALMOST
does what is needed but it does not provide for parsing the UTC offset at the
end (the "-0800").

Also, does anyone know where I can get a list of standard timezone names as is
understood by Python?

Thanks very much.


Please forward replies to gutier at intergate.bc.ca.




More information about the Python-list mailing list