Turn a Unix timestamp into an ISO-8601 UTC date, from seconds or milliseconds since 1970.
| ISO (UTC) | – |
| Seconds | – |
Use this for logs, APIs, and databases that store time as a number since the Unix epoch (1970-01-01T00:00:00Z). Type the timestamp and say whether it is seconds or milliseconds.
If the unit is seconds, the value is multiplied by 1000; if milliseconds, it is used as-is. Output is ISO-8601 in UTC and the same instant in seconds. Invalid dates are rejected. This is UTC, not your local time zone.
Value: The timestamp number from the log or API.
Unit: Seconds if it looks like 1.7e9; milliseconds if it looks like 1.7e12.
ISO (UTC): The instant as an ISO-8601 string in UTC.
Seconds: The same instant as Unix seconds.
Related calculators