Proper conversion of timestamp

Igor Korot ikorot01 at gmail.com
Tue Mar 4 15:57:08 EST 2014


Hi, ALL,
I'm getting this:

timestamp out of range for platform localtime()/gmtime() function

trying to convert the timestamp with milliseconds into the datetime object.

The first hit of Google gives me this:

http://stackoverflow.com/questions/12458595/convert-epoch-timestamp-in-python

but the solution described is not good for me since it does not gives
me the milliseconds value.

How do I get the proper datetime value including milliseconds from the
timestamp?

Thank you.



More information about the Python-list mailing list