SyntaxFix
Write A Post
Hire A Developer
Questions
In Python >= 3.2 you can simply use this:
>>> from datetime import datetime, timezone >>> datetime.now(timezone.utc).isoformat() '2019-03-14T07:55:36.979511+00:00'