Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65888
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ikorot01@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.096 |
| X-Spam-Evidence | '*H*': 0.81; '*S*': 0.00; 'great.': 0.07; 'python': 0.11; 'pointers.': 0.16; 'precision,': 0.16; 'all,': 0.19; 'pieces': 0.19; 'saying': 0.22; 'looks': 0.24; 'least': 0.26; 'message-id:@mail.gmail.com': 0.30; 'getting': 0.31; 'research.': 0.31; 'values.': 0.31; "i'd": 0.34; 'subject:with': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'grateful': 0.36; 'representing': 0.36; 'possible': 0.36; 'hi,': 0.36; 'application': 0.37; 'thank': 0.38; 'to:addr:python-list': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'digital': 0.61; 'kind': 0.63; 'subject:Get': 0.68; 'information:': 0.72; 'stamp': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=OolSJ7aXR4lxpPHUT6NRLH+RrAzpHLvIf2VuHT0Z/ZU=; b=xm3ps5Ymo8uH/lIgkK3WgBSeujnjeei7c6uw3LT7EOT6J2zaYJT1orBgRyZ/BTJabW zGOJWr9ecmkxzxLo9A8Kwe0jgtWLUrs8l6cqXUr5/Op84IRU9iZbGuMB4IpzAvIISZzg oiGXQSOevhwIIVMRhxsCMLHTyhED0iP3tYsHkl3sq+3Wuw+c6zj/e0byDN5hGL4Bk0Ua M796TxydEsgxBeYImIKOqbI8EEkMOfU35XH0a7oJaNKXne8Nc8H2c5MrFmiqlDl1URGB 9xGLFtSywnfIXCTFPHIo1s/cmhZ4zCXE/IVJluTjOPZWmx3DVq2vwHT9sh7sKreoWm3o vOOw== |
| MIME-Version | 1.0 |
| X-Received | by 10.58.255.233 with SMTP id at9mr9843154ved.20.1392097336398; Mon, 10 Feb 2014 21:42:16 -0800 (PST) |
| Date | Mon, 10 Feb 2014 21:42:16 -0800 |
| Subject | Get a datetime with nanoseconds |
| From | Igor Korot <ikorot01@gmail.com> |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=047d7bf15fc83a99b104f21aeba5 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6652.1392097344.18130.python-list@python.org> (permalink) |
| Lines | 46 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1392097344 news.xs4all.nl 2923 [2001:888:2000:d::a6]:58108 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:65888 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi, ALL, I am woking on an application for digital forensic. In this application I am getting this 2 pieces of information: atime - long representing the time stamp atime_nano - long representing the nanoseconds. What I'd like to do is to have a python datetime object which will be a representation of those 2 values. I can get a datetime object out of atime timestamp, but I don't know how to do it for atime_nano. I did a little research. It looks like people on SO are saying that I will not be able to get this kind of precision, but I'd be grateful if I can at least get the best possible precision (millioseconds?) it would be great. Thank you for any pointers.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Get a datetime with nanoseconds Igor Korot <ikorot01@gmail.com> - 2014-02-10 21:42 -0800 Re: Get a datetime with nanoseconds Asaf Las <roegltd@gmail.com> - 2014-02-11 03:57 -0800
csiph-web