Unit Converter
Unix Timestamp to Date Converter
Convert signed Unix seconds or milliseconds into an unambiguous UTC date with millisecond precision.
Unix Timestamp to Date Converter examples
| Input | Expected result |
|---|---|
| 0 s | 1970-01-01T00:00:00.000Z |
| 1704067200 s | 2024-01-01T00:00:00.000Z |
| −0.001 s | 1969-12-31T23:59:59.999Z |
| 1704067200123 ms | 2024-01-01T00:00:00.123Z |
Supported units & limits
Supports UTC years 0001–9999, seconds with up to 3 fractional digits, and integer milliseconds. Input allows an optional sign, up to 18 integer digits and outer whitespace. Scientific notation, grouping separators and finer precision are rejected. UTC output uses no IANA time-zone database and does not depend on the device time zone. No live clock or external API is used.
Common mistakes
Select seconds or milliseconds explicitly: 1000 seconds and 1000 milliseconds are different instants. Negative timestamps are valid before 1970; −0.001 second is one millisecond before the epoch. Z marks UTC, not your local clock. Do not enter leap seconds.
Privacy
Conversions run in your browser. This site does not upload or store the values you enter. We use Google Analytics (through Google Tag Manager) to count page visits, and Microsoft Clarity to see how pages are used, such as clicks and scrolling; both may set cookies, and Clarity is set to mask text on the page. The hosting server may keep standard access logs when you load a page.
Conversion guide
Keep the unit with the timestamp
Check the source system documentation for seconds or milliseconds. Select that unit, paste the timestamp and copy the UTC ISO string. Keep the Z suffix when sharing it to preserve the instant.
Unix Timestamp to Date Converter FAQ
Does the converter detect seconds or milliseconds?
No. Select the source unit so short or negative values cannot be misinterpreted.
Are negative timestamps supported?
Yes, down to 0001-01-01T00:00:00.000Z. Fractions are preserved to the millisecond.
Why is the result different from my local time?
The result is always UTC, indicated by Z. Use Time Zones to convert a dated clock reading between IANA zones.