osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get a datetime with nanoseconds


 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