Get a datetime with nanoseconds

Dave Angel davea at davea.name
Tue Feb 11 12:36:20 CET 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