datetime module: iso date *input* needed

Paul Boddie paul at boddie.net
Fri Jan 31 06:26:19 EST 2003


george young <gry at ll.mit.edu> wrote in message news:<20030130181727.5a006f5d.gry at ll.mit.edu>...
> 
> but now I need a way to make a datetime object from a date in iso format.
> I can't find a function in datetime to do this, e.g. something like:
>   d=datetime.datetime.parse_iso('2003-01-30T17:48:07.848769')

http://www.mnot.net/python/isodate.py




More information about the Python-list mailing list