datetime string to datetime object converter

Gabriel Genellina gagenellina at softlab.com.ar
Tue Jan 6 00:31:43 CET 2004


At 3/1/2004 23:38, you wrote:

>Is there an existing module or script that can convert a datetime string 
>of unknown format to a python datetime object ?

If the format is really unknown the data is ambiguous.
04/03/02 might be April 3rd 2002, March 4th 2002 or even March 2nd 2004; 
12-11-2004 might represent two different dates.


Gabriel Genellina
Softlab SRL





More information about the Python-list mailing list