Unix timestamp converter
Convert a Unix timestamp to a readable date in UTC, ISO 8601 and your local time, or turn a date and time into a timestamp in seconds and milliseconds. The live clock at the top shows the current epoch time. Seconds, milliseconds and microsecond timestamps are detected from their length.
What Unix time is
Unix time counts the seconds that have passed since 00:00:00 UTC on 1 January 1970, known as the epoch. It ignores time zones and leap seconds, which makes it a simple way to store and compare moments across systems.
Seconds, milliseconds or microseconds?
A 10-digit number today is in seconds, 13 digits is milliseconds (what JavaScript's Date.now() returns) and 16 digits is microseconds. Mixing them up is a very common bug: a value read as seconds when it is milliseconds lands tens of thousands of years in the future.
Time zones and daylight saving
The timestamp itself is the same everywhere. Only its display changes by time zone. When converting a date to a timestamp, choose whether you mean your local time or UTC, because the result differs by the offset.