What a Unix timestamp is
A Unix timestamp, also called epoch time, counts the seconds that have passed since 1 January 1970 at 00:00:00 UTC. It is a single number that means the same moment everywhere in the world, which is why databases, logs, APIs and tokens use it. A timestamp such as 1700000000 is easy for a computer to compare but impossible for a person to read.
This tool converts both ways. Paste an epoch value to see the date and time in UTC and in your own time zone, or pick a date and time to get its epoch value in seconds and milliseconds. A live panel shows the current epoch time.
How to use it
- Epoch to date: paste the number. Leave auto-detect on and the tool decides between seconds and milliseconds, or force one of them.
- Read the result in ISO 8601 UTC, in UTC text, in your local time and as a relative time such as 3 days ago.
- Date to epoch: choose a date and time, and choose whether it is in your local time zone or UTC.
- Copy the seconds or milliseconds value.
Seconds or milliseconds?
The length of the number usually tells you which one you have:
1700000000 10 digits -> seconds -> 2023-11-14T22:13:20Z
1700000000000 13 digits -> milliseconds -> 2023-11-14T22:13:20ZCommon mistakes
- Reading milliseconds as seconds gives a date thousands of years in the future. Check the number of digits.
- Forgetting the time zone. The same timestamp shows a different clock time in each zone, but it is always the same instant.
- Local time with daylight saving can skip or repeat an hour. UTC has no such jumps, so store UTC.
- The year 2038 problem: systems that store seconds in a 32-bit signed number overflow in January 2038. Modern systems use 64 bits.
Related tools
- Date / Time Difference Calculator: Find days between dates, countdown to events, and add or subtract days in seconds.
- Time Zone Converter: Compare world clocks, scrub through hours, and spot overlap for calls — private, instant, in your browser.
- JWT Token Decoder: Decode JSON Web Tokens (JWT) locally in your browser. Inspect headers, payload, and signatures.
- Cron Expression Generator: Build and explain 5-field cron expressions in plain English and preview the next run times.
