Distinguish seconds from milliseconds and avoid ambiguous local dates.
Understand the settings
A Unix timestamp measures elapsed time from the Unix epoch. APIs may store it in seconds or milliseconds, and confusing those scales produces very different dates. Select the unit explicitly instead of judging only by how many digits you see.
UTC represents a common reference. Local display uses your browser’s time zone and its time-zone rules. Two people can view the same instant with different clock readings. A date-time string without an offset can be ambiguous, so the converter expects a clear ISO date-time with Z or an explicit offset.
Civil-time changes can create repeated or missing local clock times. This tool converts instants; it does not decide which occurrence a person intended during a daylight-saving transition. Keep an offset in machine-readable timestamps when exchanging logs.
Step by step
- Choose seconds or milliseconds and enter a Unix value.
- Convert to inspect UTC and local representations.
- For the reverse direction, enter an ISO date-time with Z or an explicit offset.
- Check calendar validity and the selected scale before copying the result.
Start at the epoch
Unix value 0 represents 1970-01-01T00:00:00.000Z. A local display may show the previous evening west of UTC. That is the same instant, not an off-by-one-day error.
Limits and what to check
- Uses browser date/time facilities, with millisecond precision and their supported date range.
- No leap-second scheduling, astronomical time conversion or timezone-database editor.
- Invalid calendar dates are rejected rather than silently normalized.
- No input is uploaded. Local time reflects the device/browser configuration.
Troubleshooting
The date is thousands of years away
You may have supplied milliseconds while selecting seconds. Check the source API’s documented units.
Local output differs from another computer
Compare their timezone settings and UTC output. UTC should match for the same instant.
February 29 is rejected
Check whether the selected year is a leap year; do not rely on automatic date rollover.
Related tools
- Convert units without mixing up bits, bytes and prefixes · Guide
- Validate and format JSON without confusing it with JavaScript · Guide
Updated October 9, 2026. Report an issue with this guide.