Intelligent strptime?

Gerrit Holl gerrit.holl at pobox.com
Wed Nov 10 11:12:56 EST 1999


Hello,

Does there exist an intelligent strptime? "26/11/99", for example, can _only_
mean the 26th November of this year, and the chance that "14:11:12" means
14 november 1912 is very small. Is there a module/function that guesses the
format? There isn't doubt very often, only for 12/11/99, US is 11 december,
Europe is 12 November (isn't it?).

regards,
Gerrit.




More information about the Python-list mailing list