Open this example in the interactive library
Source code
from datetime import datetime, timezone
print(datetime.fromtimestamp(0, timezone.utc).isoformat())Sample output
1970-01-01T00:00:00+00:00

Open this example in the interactive library
from datetime import datetime, timezone
print(datetime.fromtimestamp(0, timezone.utc).isoformat())1970-01-01T00:00:00+00:00