Proper conversion of timestamp

Chris Angelico rosuav at gmail.com
Tue Mar 4 16:55:43 EST 2014


On Wed, Mar 5, 2014 at 8:46 AM, Igor Korot <ikorot01 at gmail.com> wrote:
>> Are you using Python 2? If yes, then try dividing by 1000.0.
>
>
> Yes, I'm using python 2.7.
> But dividing by 1000 will give the precision in seconds, i.e. "YYYY-MM-DD
> HH:MM:SS".

Did you notice the bit at the end there? Try dividing by 1000.0, see
if that's any different.

ChrisA



More information about the Python-list mailing list