Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python datetime subtract seconds

import datetime

X = 65
result = datetime.datetime.now() - datetime.timedelta(seconds=X)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #datetime #subtract #seconds
ADD COMMENT
Topic
Name
5+4 =