On Sun, 14 Sep 2003 20:35:35 -0400, Tim Peters <tim.one at comcast.net> wrote: > If Guido wanted to stay out of the relatively clear <snort> time zone > business, I can imagine his interest in trying to guess how to parse date > and time strings. Apart from Brett's strptime(), I believe the email > module > has some useful string->datetime code. The PyXML package includes a parser (xml.utils.iso8601) for the date/time format most commonly used in XML applications. That and a parser for RFC822 dates would meet the needs of many technical applications (though not ones where users can enter dates -- but that problem may be too complicated for the stdlib). I'll happily convert the iso8601 module for addition to the standard library if date parsing is deemed a topic of interest. --amk
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4