string to datetime parser?

Fuzzyman fuzyman_no_ at _spam_voidspace.org.uk
Mon Jan 9 03:55:22 EST 2006


On 7 Jan 2006 21:00:34 -0800, "beza1e1"
<andreas.zwinkau at googlemail.com> wrote:

>Is there a library which can parse strings and output a datetime
>object? It should be as magical as possible and allow things like:
>12:30
>tomorrow
>10.10.2005
>02-28-00
>28/03/95
>1995-03-28
>1996.Feb.29 (Thu) 16:45:23.7
>
>Is there anything like that out there? My Google can't find anything
>useful ...

There is a module called DateUtil which will do *most* of what you
want. (Possibly all).

I can't recall the URL, but google should turn it up for you.

All the best,


Fuzzyman
http://www.voidspace.org.uk/python/index.shtml



More information about the Python-list mailing list