Unix Timestamp Converter
Convert Unix timestamps to dates and dates to Unix timestamps
Unix Timestamp Converter
Convert between Unix timestamps and dates
Enter a Unix timestamp (seconds)
Date = new Date(timestamp x 1000)What Is a Unix Timestamp?
A Unix timestamp (also called epoch time or POSIX time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC — the Unix epoch. It's the universal standard for representing dates and times in programming, databases, APIs, and system logs. Because it's just a number, it's timezone-independent and easy to store, sort, and compare across any programming language or operating system.
This converter instantly translates any Unix timestamp to a human-readable date and time (in your local timezone), and converts any date/time back to a Unix timestamp. It also supports millisecond timestamps used in JavaScript's Date.now() — values greater than 10 digits are automatically detected as millisecond-precision timestamps and handled accordingly.
How to Use the Unix Timestamp Converter
- Enter a Unix timestamp (e.g., 1700000000) in the input field to convert it to a human-readable date and time.
- Or enter a date and time to convert it to a Unix timestamp.
- Click Convert to see the result.
- Millisecond timestamps are automatically detected — if your value is greater than 10 digits, the tool treats it as milliseconds (as used by JavaScript's Date.now()).
Formulas & Reference
Unix timestamp = seconds since 1970-01-01 00:00:00 UTC
Current timestamp (approx):
~1,700,000,000 (November 2023)
~1,745,000,000 (April 2025)
JavaScript:
Date.now() // milliseconds
Date.now() / 1000 // seconds (float)
Math.floor(Date.now() / 1000) // integer seconds
Convert timestamp to date (JavaScript):
new Date(timestamp * 1000).toISOString()
Year 2038 problem:
32-bit signed int max = 2,147,483,647
= January 19, 2038 03:14:07 UTCUnix timestamps are always in UTC. When displaying to users, convert to local time. JavaScript's Date object uses milliseconds internally, so multiply by 1000 when passing a Unix timestamp (seconds) to new Date(), and divide by 1000 when converting Date.now() back to seconds.
Timestamp Examples
Timestamp 0 — The Epoch
The value 0 corresponds to January 1, 1970 00:00:00 UTC — the starting point of Unix time, known as the Unix epoch. Every timestamp is measured relative to this moment.
Timestamp 1,000,000,000 — The Billion-Second Milestone
September 9, 2001 01:46:40 UTC. This was a celebrated milestone in the developer community — the moment Unix time hit one billion seconds. Some systems around the world held countdown events.
Timestamp 1,700,000,000 — November 2023
Approximately November 14, 2023 22:13:20 UTC. A useful reference point: timestamps in the 1.7 billion range correspond to late 2023. As of April 2025, current timestamps are around 1.745 billion.