Alternative to strptime()?

Skip Montanaro skip at mojam.com
Mon Sep 11 18:23:54 CEST 2000


>>>>> "Dan" == Dan Schmidt <dfan at thecia.net> writes:

    Mio> ... we'd like to convert a date-formatted string into a Tuple
    Mio> ... but strptime() appears to be not working in Win32.

    Dan> I bet rfc822.parsedate_tz() will do the job for you.

You might also want to check out Marc-Andre Lemburg's mxDateTime package.
It can parse a lot of date/time formats.  You can find it at

    http://starship.python.net/crew/lemburg

-- 
Skip Montanaro (skip at mojam.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list