Unix Timestamp Converter
A Unix timestamp counts seconds (or milliseconds) since midnight UTC on January 1, 1970. Enter a timestamp to see its date, or pick a date to get its timestamp.
Timestamp → Date
Date → Timestamp
Pick a date and time.
What a Unix timestamp is
A Unix timestamp (or 'epoch time') represents a moment as a single number: the seconds elapsed since 00:00:00 UTC on January 1, 1970 — the 'Unix epoch'. It's timezone-independent by design, which is why it's a common way for software systems to store and exchange dates and times without ambiguity.
Some systems and APIs use milliseconds instead of seconds — that's a common source of bugs, since a millisecond timestamp treated as seconds points to a date thousands of years away. Use the unit switch above if your numbers look wildly wrong.
Converting a timestamp to a readable date
This tool shows your entered timestamp in three formats: UTC (the reference timezone with no offset), your browser's local time, and ISO 8601 (a standardized text format widely used in APIs and logs, like 2024-01-15T14:30:00.000Z).
The year 2038 problem and other edge cases
Systems that store Unix time as a signed 32-bit integer run out of room at 2,147,483,647 seconds, which is 03:14:07 UTC on January 19, 2038. One second later the value overflows and wraps around to a date in 1901. Most modern systems already use 64-bit timestamps, which won't overflow for billions of years, but old embedded devices and file formats can still be affected.
Negative timestamps represent moments before 1970: −86,400 is midnight UTC on December 31, 1969. Unix time also ignores leap seconds, counting every day as exactly 86,400 seconds. Some memorable milestones: 1,000,000,000 was reached on September 9, 2001, and 1,700,000,000 on November 14, 2023.
Frequently asked questions
- What is a Unix timestamp?
- The number of seconds (sometimes milliseconds) that have passed since midnight UTC on January 1, 1970, known as the Unix epoch. It's a compact, timezone-independent way to represent a specific moment in time.
- Why is my converted date off by exactly 1,000 years or showing an invalid date?
- You likely have the unit wrong — a millisecond timestamp interpreted as seconds (or vice versa) points to a wildly different date. Try switching the Seconds/Milliseconds toggle above.
- Does the date-to-timestamp conversion use my timezone?
- Yes — the date and time you enter is treated as your browser's local time, then converted to the equivalent Unix timestamp (which is always timezone-independent).
- What is the year 2038 problem?
- Software that stores Unix time in a signed 32-bit number can't count past 03:14:07 UTC on January 19, 2038, when the value overflows. Systems using 64-bit timestamps are unaffected.