Unix Timestamp Converter
Convert a Unix epoch timestamp to a human-readable date, or convert a date to a Unix timestamp. Essential for developers and data analysts.
Readable Date (UTC)
—
ISO 8601 Format —
Date → Timestamp (seconds) —
How to Use This Calculator
- To convert timestamp → date: enter the Unix timestamp in seconds in the first field.
- To convert date → timestamp: enter the year, month, day, hour, and minute (UTC) in the date fields.
- Both conversions run simultaneously.
Formula
Timestamp → Date: new Date(timestamp × 1000)
Date → Timestamp: Date.UTC(year, month−1, day, hour, minute) ÷ 1000
Example
Example: Timestamp 1,700,000,000 → November 14, 2023, 22:13:20 UTC. Reverse: that date → 1700000000.
Frequently Asked Questions
- A Unix timestamp (epoch time) is the number of seconds elapsed since January 1, 1970, at 00:00:00 UTC. It is a standard way to represent time in computing.
- Enter the Unix timestamp in seconds in the first field and the converted date is shown in the results.
- Enter the year, month, day, hour, and minute in the date fields and the corresponding timestamp is shown.
- A 32-bit signed integer overflows at 2,147,483,647, corresponding to January 19, 2038 — the "Year 2038 problem". Modern 64-bit systems handle timestamps well beyond that.
- Traditional Unix timestamps are in seconds. JavaScript uses milliseconds (divide by 1000 to get seconds). This converter uses seconds.