Unix Timestamp Converter
Convert epoch timestamps to readable dates and dates back to Unix time. Automatically detects seconds, milliseconds, microseconds and nanoseconds, converts across timezones and extracts timestamps pasted inside log lines. Everything runs locally in your browser.
Converted date
live- ISO 8601 UTC
- —
- Selected timezone
- —
- RFC 2822
- —
- Relative
- —
- Seconds
- —
- Milliseconds
- —
- Detected unit
- —
Current Unix time
Timestamp analysis
Unix time without the usual traps
The most common timestamp bug is a unit mismatch: milliseconds interpreted as seconds produce dates thousands of years in the future, while seconds interpreted as milliseconds land in 1970. This converter makes the detected unit explicit instead of silently guessing.
Timezone conversion has a second trap: daylight-saving transitions. Some local times never exist and others occur twice. The converter detects both cases, tells you what happened and only uses the first occurrence when a time is genuinely ambiguous.
| Digits now | Likely unit | Example |
|---|---|---|
| 10 | seconds | 1700000000 |
| 13 | milliseconds | 1700000000000 |
| 16 | microseconds | 1700000000000000 |
| 19 | nanoseconds | 1700000000000000000 |
Frequently asked questions
What is a Unix timestamp?
A Unix timestamp is the number of seconds elapsed since 1 January 1970 00:00:00 UTC, known as the Unix epoch. It is timezone-independent: the same timestamp represents the same instant everywhere in the world.
How do I convert a Unix timestamp to a date?
Paste the timestamp into the converter. It automatically detects whether the value is in seconds, milliseconds, microseconds or nanoseconds, then shows the equivalent ISO 8601 date in UTC, your selected timezone, RFC format and relative time.
Is 1700000000 in seconds or milliseconds?
1700000000 is a seconds timestamp: 14 November 2023, 22:13:20 UTC. Current millisecond timestamps have 13 digits — for example 1700000000000 — while current seconds timestamps have 10 digits. This converter detects the unit automatically but lets you override it.
What is the year 2038 problem?
Many older systems store Unix time as a signed 32-bit integer, which overflows at 2147483647 — 19 January 2038 03:14:07 UTC. After that instant, affected systems can wrap timestamps negative and interpret dates as 1901. Modern systems should use 64-bit integers.
What is the difference between Unix time and ISO 8601?
Unix time is a numeric count of seconds since the epoch, ideal for storage and arithmetic. ISO 8601 is a human-readable textual format such as 2026-01-15T10:30:00Z, ideal for logs and APIs. Both can represent the same instant.
Can a Unix timestamp be negative?
Yes. Negative timestamps represent dates before the Unix epoch of 1 January 1970. For example, -86400 is 31 December 1969 00:00:00 UTC. They are valid, although some legacy systems do not handle them correctly.
How do daylight-saving transitions affect timestamp conversion?
A Unix timestamp is unambiguous, but a local date and time may not be. When clocks move forward, some local times never happen. When clocks move backward, some local times happen twice. This converter detects both cases instead of silently choosing a timestamp.