Get a datetime with nanoseconds

Dave Angel davea at davea.name
Tue Feb 11 06:36:20 EST 2014


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

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


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




More information about the Python-list mailing list