FREE TOOL
Convert Unix timestamps to readable dates or turn local dates into seconds and milliseconds.
Convert Unix timestamps into readable UTC and local dates, or create Unix time from a local date. Seconds and milliseconds are detected automatically and both values are shown together.
These examples describe reproducible behavior in this tool. They are not a guarantee for inputs outside the documented scope.
| Input or setting | Expected result | Condition |
|---|---|---|
| 0 | 1970-01-01T00:00:00.000Z, 0 seconds, and 0 milliseconds | The page also displays the device-local date and time. |
| 100000000000 | Detected as milliseconds | Absolute values at or above 100,000,000,000 use milliseconds; smaller values use seconds. |
The absolute numeric value selects seconds or milliseconds, then JavaScript Date performs the date conversion.
Dates and timestamps are converted in the browser.
Unix time is a numeric count of time elapsed since January 1, 1970 at 00:00:00 UTC, commonly represented in seconds or milliseconds.
The tool uses the magnitude of the input to detect the likely unit and displays the detected unit with the result.
Date input is interpreted in the local time zone configured in your browser or device. UTC is also displayed in the result.
Unix time normally does not count leap seconds separately. This tool follows the standard date behavior of your browser.