01 / What
A count of seconds
A Unix timestamp counts the seconds since 00:00:00 UTC on 1 January 1970, not counting leap seconds.
Free tool
Paste a Unix timestamp and see the date and time in UTC, in your own time zone, in ISO 8601 and RFC 2822, in any other time zone you pick, and how long ago or from now it is. Seconds, milliseconds, microseconds and nanoseconds are told apart by their length, or you pick. Paste a date to get its timestamp, turn a date and time in any zone back into one, convert every timestamp in a log at once, and copy the current epoch time with one click.
Need a custom tool, app or website? Contact us →Timestamp to date
Paste a list or log lines. Every number of 9 to 19 digits gets its date written after it, in the unit set above.
Show times
Date to timestamp
Your time zone: .
Worked out in your browser. Nothing is sent anywhere.
Epoch time
01 / What
A Unix timestamp counts the seconds since 00:00:00 UTC on 1 January 1970, not counting leap seconds.
02 / Units
Ten digits are seconds, thirteen milliseconds, sixteen microseconds and nineteen nanoseconds.
03 / Zones
The same moment is shown in UTC and in your browser's time zone, with ISO 8601 for code.
Guide
A Unix timestamp converter turns a number like 1767225600 into a date you can read, and turns a date back into that number. The number counts seconds since midnight UTC on 1 January 1970, so 1767225600 is exactly 1 January 2026 at 00:00:00 UTC. This converter shows the result in UTC, in your own time zone, in ISO 8601 and in RFC 2822, says how long ago or from now it is, and copies the current epoch time with one click.
2026-01-01T00:00:00Z, to get its timestamp.The same moment can be written in four common units, and the only quick way to tell them apart is the number of digits. When the unit is set to Guess from length, the tool reads up to 11 digits as seconds, 12 to 14 as milliseconds, 15 to 17 as microseconds, and anything longer as nanoseconds.
| Unit | Digits today | 1 Jan 2026, 00:00 UTC | Where you see it |
|---|---|---|---|
| Seconds | 10 | 1767225600 | Unix and Linux tools, PHP, most databases and APIs |
| Milliseconds | 13 | 1767225600000 | JavaScript Date.now(), Java, many JSON APIs |
| Microseconds | 16 | 1767225600000000 | Some databases and logging systems |
| Nanoseconds | 19 | 1767225600000000000 | Go, high precision logs and tracing |
The guess fails for very early dates, because a timestamp from 1970 is a short number in any unit. If the date you get looks wrong by decades, pick the unit by hand.
A timestamp has no time zone. It is one moment for the whole planet, and only the way you display it changes. That is why the tool shows UTC and your local time side by side.
Say a log line says an event happened at 1792229400. The tool shows Saturday, 17 October 2026 at 09:30:00 UTC. In a time zone six hours ahead of UTC, the same moment is 15:30. Now try the reverse. Set the date to 17 October 2026, 09:30, and switch That time is in between UTC and My time zone. In UTC you get 1792229400. If your zone is six hours ahead, you get 1792207800, which is 21,600 seconds smaller, exactly six hours. Picking the wrong option here is the most common reason a converted timestamp is off by a whole number of hours.
Open "Start and end of the day, month and year" to get the first and last second of the day, the month and the year your timestamp falls in, in your time zone or in UTC. These are the numbers to use in a database query for "everything on 17 October". For 1792229400 in UTC, the day runs from 1792195200 to 1792281599, the month starts at 1790812800 and the year runs from 1767225600 to 1798761599.
Open "Many timestamps at once" and paste a list or a few lines from a log. Every number of 9 to 19 digits gets its date written in brackets right after it, in UTC or your time zone, and the rest of each line stays as it was. A line like end 1792229400000 becomes end 1792229400000 (2026-10-17T09:30:00Z). Copy result takes the whole lot.
2026-01-01T00:00:00.000Z, is the safest format to paste into code, JSON or a spreadsheet. The Z means UTC.Thu, 01 Jan 2026 00:00:00 +0000, is the style used in email headers.Timestamps can be negative. -86400 is one day before the epoch, so it shows as 31 December 1969 at 00:00 UTC. Decimals work too: 1767225600.5 is half a second past midnight. Very large numbers that fall outside the range a browser can show give a clear message instead of a wrong date.
The year 2038 problem comes from the largest number a signed 32-bit counter can hold, 2147483647. Paste it in and you will see 19 January 2038 at 03:14:07 UTC, the last second such a counter can store.
2026-01-01 09:30, is read in your time zone. Add Z or +00:00 at the end for UTC.You can also get the current timestamp in Terminal by typing date +%s. To read a timestamp in seconds as a UTC date, type date -u -r 1767225600. Leave out -u to see it in your Mac's time zone.
Need to schedule something at a set time? The cron expression generator builds the schedule line, and the time zone converter lines up a meeting time across cities.
Questions
The number of seconds since 1 January 1970 at midnight UTC. Many systems store time this way.
Usually 10 digits means seconds and 13 means milliseconds. The page guesses from the length.
Pick the date and time under Date to timestamp and say which time zone it is in: yours, UTC or any other. Or paste a written date into the Timestamp or date box.
Signed 32-bit counters of seconds run out on 19 January 2038. Most systems now use 64 bits.
No.
It is the large number ticking at the top of the tool, in seconds, with the milliseconds under it. Click it to copy the value at that moment.
An epoch is a fixed starting point for counting time. Unix systems chose midnight UTC on 1 January 1970, so a count from that point is called epoch time or Unix time.
No. The count of seconds keeps going up at the same rate all year. Only the local clock time shown for it moves an hour when daylight saving starts or ends.
Divide by 1,000 and drop the decimals. 1767225600000 milliseconds becomes 1767225600 seconds.
Yes. Pick the zone in Also in this time zone and a row shows the same moment there, with its offset from UTC on that date.
Yes. Paste them, or whole log lines, into Many timestamps at once. Each one gets its date in brackets after it.