Python – printing UTC dates in ISO8601 format with time zone
June 09, 2017 [Programming, Python, Tech] By default, when you make a UTC date from a Unix timestamp in Python and print it in ISO format, it has no time zone: $ python3 >>> from datetime import datetime >>> datetime.utcfromtimestamp(1496998804).isoformat() '2017-06-09T09:00:04' Whenever you talk about a datetime, I…
Read More