Unix timestamp converter
Convert a Unix epoch timestamp to a human-readable date - or convert any date and time to its Unix timestamp.
What is a Unix timestamp?
A Unix timestamp (also called Unix time or epoch time) is the number of seconds elapsed since January 1, 1970 at 00:00:00 UTC - a moment known as the Unix epoch. It's a timezone-independent way to represent a single point in time as a plain integer.
Unix timestamps are used everywhere in computing: database records, log files, API responses, JWT tokens, file system metadata, and more. When you see a large number like 1700000000 in a codebase or API, it's almost always a Unix timestamp.
Seconds vs. milliseconds
Standard Unix timestamps are in seconds. JavaScript's Date.now() returns milliseconds - a value 1,000× larger. If a timestamp has 13 digits, it's likely in milliseconds; 10 digits means seconds. Paste 10-digit seconds or 13-digit milliseconds; 13-digit values are converted automatically.
The Year 2038 problem
On 32-bit systems, Unix timestamps are stored as a signed 32-bit integer, which overflows on January 19, 2038 at 03:14:07 UTC - after which timestamps would wrap to a large negative number. Most modern systems use 64-bit integers, which won't overflow for approximately 292 billion years.
UTC vs. local time
Unix timestamps are always in UTC. The date displayed by this tool is converted to your local time zone, so the same timestamp may show a different date and time depending on where you are.
How the conversion works
Unix time treats every day as exactly 86,400 seconds. To turn a timestamp into a date, divide by 86,400: the whole part is the number of days since January 1, 1970, and the remainder is the time of day in UTC.
A worked example with 1700000000: 1,700,000,000 ÷ 86,400 = 19,675 days with 80,000 seconds left over. 19,675 days after January 1, 1970 is November 14, 2023, and 80,000 seconds is 22 hours, 13 minutes and 20 seconds. So the timestamp is Tuesday, November 14, 2023 at 22:13:20 UTC. In New York that is 5:13:20 PM the same day; in Tokyo it is 7:13:20 AM on Wednesday, November 15.
The other direction uses your device's time zone. If you enter midnight on January 1, 2027 in London, the result is 1798761600. The same local time in New York is five hours later in UTC, so it gives 1798779600.
Edge cases
- Negative timestamps - dates before 1970 count backwards.
-86400is December 31, 1969 at 00:00:00 UTC. The converter accepts negative values. - Leap seconds - Unix time does not count them. Every day is 86,400 seconds, so a leap second never appears as its own timestamp.
- Daylight saving - when clocks go back, a local time such as 1:30 AM happens twice, and when they go forward, a time such as 2:30 AM does not exist. For those times the browser picks one valid moment, so check the UTC result if it matters.
- Milliseconds - values above 1,000,000,000,000 are read as milliseconds and rounded down to whole seconds. To keep the milliseconds, use the Unix milliseconds converter.
For the 2038 limit itself: the largest signed 32-bit value, 2147483647, is January 19, 2038 at 03:14:07 UTC. One second later, a 32-bit counter wraps to -2147483648, which reads as December 13, 1901 at 20:45:52 UTC.
Practical uses
Developers use a converter like this to read timestamps in logs and database rows, to check when a token or cookie expires, and to set a precise moment for a scheduled job. A smaller milestone is close, too: Unix time passes 1800000000 on January 15, 2027 at 08:00 UTC.
Count down to a timestamp on your iPhone
If a timestamp marks something you care about, such as a certificate expiry, an API shutdown or a launch, you can keep it in view with Left.
- Convert the timestamp above to see its local date and time.
- In Left, open Ahead and tap Add a date ahead, then New date.
- Name it and set Starts to that date and time. Turn on Get a reminder if you want a warning beforehand.
- Add the Ahead widget to your Home Screen, or to your Lock Screen with Customize, and pick the date in Edit Widget.
Questions
What is the current Unix timestamp?
The number at the top of the converter is the current Unix time in seconds, and it updates every second. In November 2026 it is a little under 1.8 billion.
Is a Unix timestamp in seconds or milliseconds?
Standard Unix time is in seconds, which is 10 digits today. JavaScript and many APIs use milliseconds, which is 13 digits; the Unix milliseconds converter handles those with full precision.
What happens to Unix time in 2038?
A signed 32-bit counter of seconds reaches its maximum, 2,147,483,647, on January 19, 2038 at 03:14:07 UTC. One second later it wraps to a negative number that reads as December 13, 1901. Systems that store time as a 64-bit number are not affected.
Does a Unix timestamp have a time zone?
No. It counts seconds from a moment defined in UTC, so the same timestamp means the same instant everywhere. Only the way it is displayed changes with your time zone.
Can a Unix timestamp be negative?
Yes. Negative values count back from January 1, 1970. For example, -86400 is December 31, 1969 at 00:00:00 UTC.
Does Unix time count leap seconds?
No. Unix time treats every day as exactly 86,400 seconds, so leap seconds are left out.
Keep time where you look.
Left puts countdowns, year progress, habits and streaks on your Home Screen, Lock Screen and Apple Watch.
Scan or search "Left" on the App Store.