Convert Unix epoch timestamps to human-readable dates and back. Auto-detects seconds and milliseconds. Timezone: Asia/Muscat.
—Enter a Unix timestamp above.
Pick a date and time above.
| Digits | Unit | Example | Resolves to |
|---|---|---|---|
| 10 | Seconds | 1755600000 | August 2026 |
| 13 | Milliseconds | 1755600000000 | August 2026 |
| 16 | Microseconds | 1755600000000000 | August 2026 |
| 19 | Nanoseconds | 1755600000000000000 | August 2026 |
| Moment | Timestamp (seconds) |
|---|---|
| Unix epoch — 1 Jan 1970 00:00 UTC | 0 |
| 1 Jan 2000 | 946684800 |
| 1 Jan 2020 | 1577836800 |
| 1 Jan 2025 | 1735689600 |
| 1 Jan 2030 | 1893456000 |
| 32-bit signed overflow — 19 Jan 2038 | 2147483647 |
Both. When you paste a timestamp the tool auto-detects the unit: 10-digit values are treated as seconds and 13-digit values as milliseconds. The date-to-timestamp side shows you both.
Yes. The 'Local' output uses your device timezone, while 'UTC' and 'ISO 8601' are shown in Coordinated Universal Time so you can compare.
Yes. Everything runs in your browser with JavaScript's Date object — no data is sent anywhere.
You are almost certainly passing milliseconds to a function expecting seconds, or vice versa. A 10-digit value is seconds and a 13-digit value is milliseconds — dividing or multiplying by 1000 fixes it.
JavaScript's Date works in milliseconds while Python's time.time() returns seconds. Converting between them requires a factor of 1000.
Signed 32-bit time values overflow on 19 January 2038 and wrap to a negative number, displaying as 1901. Modern 64-bit systems are unaffected, but embedded devices and legacy databases may still be exposed.
No. Unix time assumes every day has exactly 86,400 seconds, so it has drifted about 27 seconds from astronomical time since 1972. This keeps date arithmetic simple and reversible.
Timestamps are compact and sort and compare cheaply. ISO 8601 strings are human-readable and preserve timezone offsets. Many systems store an integer timestamp in UTC and format it for display.
An international standard date format such as 2026-08-19T12:00:00Z, where Z means UTC. It sorts correctly as plain text and is the usual way dates travel in JSON, which has no native date type.