Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add time with time delta in python

from datetime import timedelta, datetime
now = datetime.now()
print("Today is:-",now)
print("600 hours later than today will be", str(now + timedelta(hours=600)))
 
PREVIOUS NEXT
Tagged: #add #time #time #delta #python
ADD COMMENT
Topic
Name
9+2 =