Converting date to milliseconds since 1-1-70

Xavier Morel xavier.morel at
Thu Jan 26 13:20:13 CET 2006

NateM wrote:
> Thank you!  If I am reading in dates as strings from a text file, like
> "5/11/1998", how do I convert that to a format I can pass into mktime?
> Thanks again.
Check time.strptime()

More information about the Python-list mailing list