This Unix timestamp converter turns epoch time into a readable date and a date back into a timestamp. Paste a number in seconds or milliseconds and see it as your local time, UTC and ISO 8601. Or pick a date and time to get the matching timestamp. The current epoch time is shown live at the top.
How do I use the Unix timestamp converter?
- Paste a timestamp, such as 1767225600, or pick a date.
- The tool detects seconds or milliseconds automatically.
- Read the result in local time, UTC and ISO format.
- Copy whichever value you need.

What is epoch time?
Unix time, also called epoch time, counts the seconds since 00:00:00 UTC on 1 January 1970. It is a single number, which makes it easy for computers to store, sort and compare. Databases, APIs, log files and programming languages use it everywhere.
| Timestamp | Date (UTC) |
|---|---|
| 0 | 1 January 1970, 00:00:00 |
| 1000000000 | 9 September 2001, 01:46:40 |
| 1700000000 | 14 November 2023, 22:13:20 |
| 2000000000 | 18 May 2033, 03:33:20 |

Seconds or milliseconds?
A timestamp in seconds has 10 digits today. A timestamp in milliseconds has 13 digits. JavaScript's Date.now() returns milliseconds, while most Unix tools and PHP's time() return seconds. If a date comes out in the year 50000, you probably treated milliseconds as seconds. The converter checks the length and picks the right unit for you.
Timestamp to date in code
| Language | Get the current timestamp |
|---|---|
| JavaScript | Math.floor(Date.now() / 1000) |
| Python | int(time.time()) |
| PHP | time() |
| MySQL | UNIX_TIMESTAMP() |
Date to timestamp
Pick a date and time and choose whether it is your local time or UTC. The tool returns the timestamp in seconds and milliseconds. This is useful for setting expiry times in tokens, scheduling jobs or filtering logs by time range.
Time zones and timestamps
A Unix timestamp has no time zone. It always refers to one exact moment. The same number shows as 05:00 in Karachi and 00:00 in London because the converter displays it in different zones. Store times as timestamps or UTC in your systems, and convert to local time only when showing them to people.
Common mistakes
Mixing local time and UTC is the classic bug. A date picked in Karachi and saved as if it were UTC will be five hours off. Another common slip is storing milliseconds in a column that expects seconds, which makes every date land thousands of years in the future. When in doubt, paste the stored value here and see what date it really means.
The year 2038 problem
Old systems store Unix time as a signed 32-bit number, which runs out on 19 January 2038. Modern systems use 64-bit numbers, which last for billions of years. If you maintain old software, check how it stores dates.
Related developer tools
To decode a JSON Web Token and read its exp and iat timestamps, use the JWT decoder. To format API responses, try the JSON formatter. For human dates and durations, the date difference calculator counts days between two dates, and the time zone converter compares local times across cities. Scheduled jobs are easier to write with the cron expression generator.
