Converting DD MM YYYY into YYYY-MM-DD?

Jonathan Gardner jgardner at
Tue Aug 18 04:36:24 CEST 2009

On Aug 17, 7:06 pm, Ben Finney <ben+pyt... at> wrote:
> Jonathan Gardner <jgard... at> writes:
> > Unfortunately, there isn't any string to date parsers in the built-
> > ins.
> Fortunately, Python 2.5 or later has the ‘datetime.strptime’ function.

Hate to weasel out of this one, but the language that strptime
provides is pretty limited. I don't find it useful except in the
trivial cases. Same goes for strftime. Also, both of these are very
Western European centric. Yes, Asian languages are supported but not

More information about the Python-list mailing list