strtotime?

Irmen de Jong irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Thu Jan 22 18:21:31 EST 2004


Leif K-Brooks wrote:
> PHP has a very nice strtotime function (http://php.net/strtotime) which 
> converts a date/time in virtually any format into a timestamp. Does 
> Python have a similar function?

I guess you're looking for:  time.strptime

--Irmen



More information about the Python-list mailing list