Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python datetime add

import datetime
delta = datetime.timedelta(
     days=50,
     seconds=27,
     microseconds=10,
     milliseconds=29000,
     minutes=5,
     hours=8,
     weeks=2
)

new_datetime = datetime.now() + delta
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #python #datetime #add
ADD COMMENT
Topic
Name
2+1 =