How this calculation works
Convert a Unix timestamp in either direction
Set the direction before entering a value. For a timestamp, explicitly choose seconds or milliseconds according to the source field. For a date, enter the time in UTC. Both directions show the same instant as a UTC date and as Unix seconds and milliseconds.
Check milliseconds, negative values, and the epoch
Unix zero is January 1, 1970 at 00:00:00 UTC. An integer millisecond value is divided by 1,000 to obtain seconds. For example, 1700000000123 ms = 1700000000.123 s and represents 2023-11-14 at 22:13:20.123 UTC. Reverse that UTC time to recover the original millisecond number.
For a pre-epoch check, −1 ms is −0.001 s, corresponding to 1969-12-31 at 23:59:59.999 UTC. Keep the decimal part of seconds when exchanging an instant that needs millisecond precision.
Frequently asked questions
How do I tell seconds from milliseconds?
Use the field’s documented unit. Modern values often have 10 digits in seconds and 13 in milliseconds, but length alone is unreliable for values near 1970 and for negative timestamps.
What precision and date range are supported?
Enter integer milliseconds or seconds with up to three decimal places. The corresponding UTC date must fall in 1900 through 2100.
Where do I enter a time zone offset?
This form uses UTC throughout. If you have a local date and time, use the time zone converter to find the UTC time first.
Check the calculation conventions
Review the shared calendar and time checks for independent verification, rounding and input conventions. How calculation data is handled.
Sources and calculation conventions
This tool uses the 1970 UTC epoch and the browser’s millisecond time scale. The form limits dates to 1900–2100.
References checked: November 24, 2026. These links support method checking; they do not imply endorsement or affiliation.