utc to iso 8601 with timezone information 28python 3 29 3a

Solutions on MaxInterview for utc to iso 8601 with timezone information 28python 3 29 3a by the best coders in the world

showing results for - "utc to iso 8601 with timezone information 28python 3 29 3a"
Elsa
25 Jan 2018
1import datetime
2datetime.datetime.utcnow().replace(tzinfo=datetime.timezone.utc).isoformat()
3>>> 2020-03-20T01:31:12.467113+00:00
4
similar questions