Unix timestamp converter
Paste a Unix timestamp (from a log, a database or an API) to see the date in your local time, in UTC and in ISO 8601. The unit (seconds, milliseconds, micro- or nanoseconds) is detected automatically. It also converts a date to a timestamp.
🔒 Everything runs on your device
Current timestamp (seconds):
Timestamp → date
| Your local time | |
|---|---|
| UTC | |
| ISO 8601 | |
| Relative to now |
Date → timestamp
| Seconds | |
|---|---|
| Milliseconds |
How to use it
- Paste the timestamp. The number of digits tells whether it is in seconds (10), milliseconds (13), microseconds (16) or nanoseconds (19); you can force the unit.
- You get the date in your time zone, in UTC, in ISO 8601 with the offset, and how long ago or from now it is.
- For the reverse, pick a date and time and whether they are in your local time or UTC.
Example
The start of 2027
Timestamp 1798761600 is 1 January 2027 at 00:00:00 UTC, which in New York (winter, UTC−5) is 31 December 2026 at 19:00. In milliseconds it would be 1798761600000.
How it works
A Unix timestamp counts the time elapsed since 1 January 1970 at 00:00:00 UTC, ignoring leap seconds.
Local-time conversions use your browser’s time zone, including daylight-saving changes.
Micro- and nanosecond values are read with arbitrary-precision integers so no digits are lost; the date is shown to millisecond precision.
Limitations
- Dates are shown between the years −271821 and 275760, JavaScript’s range.
- If a seconds timestamp has more than 11 digits (dates beyond the year 5138), force the unit so it is not read as milliseconds.
FAQ
What is a Unix timestamp or epoch time?
The number of seconds (or milliseconds) since 1 January 1970 at 00:00 UTC. Most systems and programming languages use it.
Is it in seconds or milliseconds?
For current dates, a seconds timestamp has 10 digits and a milliseconds one has 13. The tool detects it automatically.
What is the year 2038 problem?
Systems that store the timestamp in seconds as a signed 32-bit integer overflow on 19 January 2038 at 03:14:07 UTC (2147483647). 64-bit systems do not have that limit.