SyntaxFix
Write A Post
Hire A Developer
Questions
Note that solutions with timedelta.total_seconds() work on python-2.7+. Use calendar.timegm(future.utctimetuple()) for lower versions of Python.
timedelta.total_seconds()
calendar.timegm(future.utctimetuple())