Converting DD MM YYYY into YYYY-MM-DD?
Ben Finney
ben+python at benfinney.id.au
Mon Aug 17 22:06:37 EDT 2009
Jonathan Gardner <jgardner at jonathangardner.net> 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.
--
\ “You could augment an earwig to the point where it understood |
`\ nuclear physics, but it would still be a very stupid thing to |
_o__) do!” —The Doctor, _The Two Doctors_ |
Ben Finney
More information about the Python-list
mailing list