subtract seconds datetime python code example
Example: python datetime subtract seconds
import datetime
X = 65
result = datetime.datetime.now() - datetime.timedelta(seconds=X)
import datetime
X = 65
result = datetime.datetime.now() - datetime.timedelta(seconds=X)