Unix timestamp converter
How to convert a Unix timestamp
- Paste the timestamp into Unix timestamp. Leave Unit on Detect from the size, or pick seconds, milliseconds, microseconds or nanoseconds.
- Pick a Time zone. The first choice is the zone your browser reports.
- Read the UTC line, the line for your zone, the relative time and the two Unix values.
- To go the other way, type a date such as 2026-11-21 10:32:00 under Date to timestamp, pick a zone, and read the seconds and milliseconds.
- Press Use current time to fill the box with the Unix time now.
Seconds or milliseconds: how the page decides
A Unix timestamp counts time from 1 January 1970, 00:00:00 UTC. It has no time zone. The zone only changes how the instant is written. Systems differ in the unit, so the page reads the size of the number. Under 100 billion (11 digits or fewer) it is seconds. Up to 100 trillion (14 digits) it is milliseconds, up to 100 quadrillion (17 digits) microseconds, and beyond that nanoseconds. The table shows the same instant in all four units.
Detection can only guess from size, and a wrong unit gives a plausible date. We forced 1700000000 to milliseconds and got 20 January 1970. We forced 1700000000000 to seconds and got the year 55840. If the date looks wrong by decades or millennia, change Unit.
Time zones
The timestamp 1700000000 is 2023-11-14 22:13:20 UTC. The page showed it as 00:13:20 on 15 November in Africa/Cairo (UTC+02:00), 17:13:20 on 14 November in America/New_York (UTC-05:00), 03:43:20 in Asia/Kolkata (UTC+05:30) and 03:58:20 in Asia/Kathmandu (UTC+05:45). In July 2024 the same zones moved with their clocks: Cairo UTC+03:00, New York UTC-04:00.
Zone names and rules come from your browser, which listed 426 zones in our test. Relative time is rounded: 1700000000 read 3 years ago, and a date 400 days ahead read next year.
Date to timestamp
Write the date as 2026-11-21, 2026-11-21 10:32 or 2026-11-21T10:32:00, with seconds and up to three digits of a second if you like. If the text ends in Z or an offset such as +02:00, +0200 or +02, that offset is used and the zone menu is ignored. We typed 2026-11-21T10:32:00+02:00 with Cairo and with Tokyo selected and got 1795249920 both times. Without an offset, 2026-11-21 10:32:00 gave 1795257120 in UTC, 1795237320 in Asia/Kolkata and 1795236420 in Asia/Kathmandu.
Extra fraction digits are cut, not rounded: .123456789 became 123 milliseconds. The seconds value drops the fraction. Formats such as 21/11/2026, Nov 21, 2026, 10:32 PM and tomorrow are refused. The message for them says Enter digits only, which is the wording for the timestamp box and does not fit a date.
Times that clocks skip or repeat
When clocks go forward, an hour of wall time never happens. When they go back, an hour happens twice. The page still returns one instant, but the choice is not the same everywhere. For 2024-03-10 02:30, which does not exist in New York, it returned 06:30 UTC, and that instant shows as 01:30 on the New York clock. For 2024-03-31 01:30, skipped in London, it returned 01:30 UTC, which shows as 02:30. Cairo skipped 00:00 to 01:00 on 24 April 2026, and 2026-04-24 00:30 came back as 01:30 local. For a repeated time it took the first pass in New York (2024-11-03 01:30, UTC-04:00) and the second in London and Cairo (2026-10-29 23:30, UTC+02:00).
So do not type a time inside a clock change and trust the zone menu. Add an offset to the text, for example 2024-11-03 01:30 -05:00, and the answer is exact.
Limits and errors
Dates run from -271821 to 275760, the range of a browser date. 8640000000000000 milliseconds gave 275760-09-13, and one more was refused with outside the dates a browser can represent. The date 275760-09-13T00:00:00.001Z was refused with This date does not exist. The timestamp box accepts a minus sign, a plus sign, one decimal point, and commas, underscores or spaces between digits. It refuses 1e9, 0x10, letters and Arabic-Indic digits. A date such as 2026-02-30 or 2026-11-21 24:00 is refused.
The 2038 limit of a signed 32-bit counter does not apply here: 2147483647 is 2038-01-19 03:14:07 UTC and 2147483648 is one second later.
Where your numbers go
We opened the page with outside connections blocked, typed a timestamp and a date that each held a unique value, and pressed Use current time. Of 12 requests, 2 went to outside scripts (the Google ad script and tag), which we blocked, so we cannot say what they would send. No request carried a body or a typed value, and localStorage and sessionStorage held no keys.
Other tools
A version 7 id from the UUID generator starts with a millisecond timestamp: take its first 12 hex digits, convert them to decimal and paste the number here. For an API response that holds timestamps, format it first in the JSON formatter.
Same instant, four units
| Digits | Example | Unit shown | UTC result |
|---|---|---|---|
| 10 | 1700000000 | Seconds | 2023-11-14 22:13:20 |
| 13 | 1700000000000 | Milliseconds | 2023-11-14 22:13:20 |
| 16 | 1700000000000000 | Microseconds | 2023-11-14 22:13:20 |
| 19 | 1700000000000000000 | Nanoseconds | 2023-11-14 22:13:20 |
| 10, negative | -1 | Seconds | 1969-12-31 23:59:59 |
Prefer desktop software?
In PowerShell, [DateTimeOffset]::FromUnixTimeSeconds(1700000000) reads seconds and [DateTimeOffset]::UtcNow.ToUnixTimeSeconds() gives the current value. In Excel, =A1/86400+DATE(1970,1,1) turns seconds in A1 into a UTC date once the cell is formatted as a date. We did not run these, and neither guesses the unit. In Git Bash, date -d @1700000000 prints the date for a Unix time in seconds; we did not run it.
Frequently asked questions
How do I tell seconds from milliseconds?
Count the digits. Ten digits is seconds for any date from 2001 to 2286. Thirteen is milliseconds, sixteen microseconds and nineteen nanoseconds. The page applies this rule, and you can override it.
Why is my converted date off by a few hours?
The timestamp is in UTC, and the zone menu decides what clock it is shown on. Pick the zone you expect, or UTC, and compare.
What happens to a time that does not exist because of daylight saving?
The page returns one instant, but the choice differs by zone. Add an offset such as +02:00 to remove the guess.
Does the year 2038 problem affect this page?
No. 2147483648 converts to 2038-01-19 03:14:08 UTC. The limit belongs to systems that store seconds in a signed 32-bit number.
Can I convert a negative timestamp?
Yes. -1 is 1969-12-31 23:59:59 UTC and -62135596800 is the first second of year 1.
Why does the page refuse 1e9?
The timestamp box takes plain digits. Write 1000000000 instead.
Is my data sent anywhere?
No. The conversion runs in your browser. Our network test saw no request with a body or a typed value.