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


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

Re: Proper conversion of timestamp

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2014-03-04 21:44 +0000
Last post2014-03-04 21:44 +0000
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 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-03-04 21:44 +0000

#67728 — Re: Proper conversion of timestamp

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-03-04 21:44 +0000
SubjectRe: Proper conversion of timestamp
Message-ID<mailman.7746.1393969463.18130.python-list@python.org>
On 04/03/2014 20:57, Igor Korot wrote:
> 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.
>

You have a long record of asking timestamp related questions so you 
should know where the docs are that provide the answer to this question. 
  I'll leave you to go off and read them.  If you don't understand them, 
please cut and paste your code here, state what you expected to happen, 
what actually happened, including any traceback if applicable, and then 
we'll be happy to point you the error of your ways.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

[toc] | [standalone]


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


csiph-web