DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+4 =
Submit