Python does not let me format time.

Remco Gerlich scarblac-spamtrap at
Fri Apr 28 03:14:46 CEST 2000

Sindh wrote in comp.lang.python:
> If there is already a moduls to do the same , much helpful.

>>> import time
>>> time.strptime("00/04/28","%y/%m/%d")

strptime is the inverse of strftime, in a way.

Remco Gerlich,  scarblac at

   This is no way to be
     Man ought to be free      -- Ted Bundy
       That man should be me

More information about the Python-list mailing list