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


Groups > comp.lang.python > #65901

Re:Get a datetime with nanoseconds

From Dave Angel <davea@davea.name>
Subject Re:Get a datetime with nanoseconds
Date 2014-02-11 06:36 -0500
Organization news.gmane.org
References <CA+FnnTxV_VKbSkcdpAnPckUs95j3038emhwEhCbjCweMe=ZeCQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.6662.1392118386.18130.python-list@python.org> (permalink)

Show all headers | View raw


 Igor Korot <ikorot01@gmail.com> Wrote in message:
> 

Construct a datetime. timedelta object, and add it to your datetime. 


mytime += datetime. timedelta (microseconds=nano//1000)
-- 
DaveA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re:Get a datetime with nanoseconds Dave Angel <davea@davea.name> - 2014-02-11 06:36 -0500

csiph-web