Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

datatime add time in float

>>> import datetime
>>> d = datetime.datetime(2016, 11, 17)
>>> delta = datetime.timedelta(hours=4.1326742)
>>> d + delta
datetime.datetime(2016, 11, 17, 4, 7, 57, 627120)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #datatime #add #time #float
ADD COMMENT
Topic
Name
5+3 =