Unix timestamp converter
Convert explicit seconds or milliseconds to dates and back.
Supported UTC years: 1900–2100. Use YYYY-MM-DDTHH:MM:SS with optional milliseconds. UTC mode also accepts a trailing Z. Seconds must be whole. Local time requires input without Z and uses your device zone; repeated times select the earlier occurrence and skipped times are rejected.
The formula, made simple
Translate a Unix timestamp into a date, or enter a date and time to obtain a Unix timestamp. Select the unit explicitly.
Unix time measures elapsed time from 1970-01-01T00:00:00Z. Milliseconds = seconds × 1,000.
A worked example
0 seconds corresponds to 1970-01-01T00:00:00.000Z. 1,000 milliseconds corresponds to one second after that instant.
A few useful answers
Why must I choose seconds or milliseconds?
Guessing from digit count can misinterpret older, negative, or small timestamps. An explicit unit avoids that ambiguity.