Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #67734 > unrolled thread

Re: Proper conversion of timestamp

Started byChris Angelico <rosuav@gmail.com>
First post2014-03-05 08:55 +1100
Last post2014-03-05 08:55 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Proper conversion of timestamp Chris Angelico <rosuav@gmail.com> - 2014-03-05 08:55 +1100

#67734 — Re: Proper conversion of timestamp

FromChris Angelico <rosuav@gmail.com>
Date2014-03-05 08:55 +1100
SubjectRe: Proper conversion of timestamp
Message-ID<mailman.7751.1393970146.18130.python-list@python.org>
On Wed, Mar 5, 2014 at 8:46 AM, Igor Korot <ikorot01@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web