About this tool
Turn a Unix (epoch) timestamp from a log file, database or API into a readable date in your local time, UTC and ISO 8601 — or convert a date and time back into a timestamp. Seconds and milliseconds are detected automatically, and the current Unix time updates live.
How to use it
- Paste a timestamp to see it as a date, or press “Convert this” to use the current time.
- To go the other way, pick a date and time and choose whether it's UTC or your local time.
- Copy the result you need.
Good to know
- Timestamps with 12 or more digits are treated as milliseconds; shorter ones as seconds.
- A Unix timestamp counts seconds since 1 January 1970 00:00:00 UTC and is the same everywhere in the world.
- Local time uses your device's time zone setting.
What a Unix timestamp is
A Unix timestamp counts the seconds since 1 January 1970 at 00:00:00 UTC. Because it ignores time zones, the same moment has the same timestamp everywhere in the world — which is why servers, databases and APIs store time this way.
Example: 1,700,000,000 seconds is 14 November 2023 at 22:13:20 UTC — 15 November at 02:13 in Dubai and 03:13 in Pakistan.
Seconds or milliseconds?
Most systems use seconds (10 digits today). JavaScript and many web APIs use milliseconds (13 digits). If a date comes out in 1970 or thousands of years in the future, the timestamp was read with the wrong unit — this converter treats 12 or more digits as milliseconds to avoid that.
The year 2038
Older systems that store timestamps as signed 32-bit numbers run out on 19 January 2038. Modern systems use 64-bit values and aren't affected, but it is worth knowing if you maintain old software.
One timestamp, two time zones
A timestamp is the same moment everywhere; only the local clock time differs. 1767225600 is 1 January 2026 at 00:00 UTC — 04:00 in Dubai (UTC+4) and 05:00 in Lahore (UTC+5). Storing timestamps in UTC and converting only for display avoids the classic one-hour mistakes between UAE and Pakistan offices.
Frequently asked questions
What is a Unix timestamp?
The number of seconds that have passed since 1 January 1970 at midnight UTC. Programs use it because it's a single number that's easy to store and compare.
Why does my timestamp have 13 digits?
It's in milliseconds, which JavaScript and many APIs use. The converter detects this automatically.