A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-September/038047.html below:

[Python-Dev] Re: datetime issues

[Python-Dev] Re: datetime issues [Python-Dev] Re: datetime issuesA.M. Kuchling amk at amk.ca
Mon Sep 15 08:42:58 EDT 2003
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


More information about the Python-Dev mailing list

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