Unix timestamp converter
Convert integer Unix timestamps and exact UTC date-times, and display the same instant in a selected IANA zone without guessing units.
How to use
Choose the direction and Unix unit first. Enter the number or UTC string and a display zone such as UTC or Asia/Riyadh. Calculate to see Unix, UTC with three millisecond digits, and the local display with its offset. Copy or download the report.
Unix -1 millisecond is 1969-12-31T23:59:59.999Z; -1 second is 1969-12-31T23:59:59.000Z. Zero seconds displayed in Asia/Riyadh is 1970-01-01T03:00:00.000 with GMT+03:00.
Support & limits
Integers are checked with BigInt before Number, without unit guessing or precision loss. ISO accepts Z only, seconds 00–59, and exactly three fractional digits when present. Invalid dates, 24:00:00 and automatic month rollover are rejected. IANA only displays an already determined instant using the browser’s Intl database; ambiguous or nonexistent local DST times are not converted in reverse. A zone display outside the supported years is rejected. Unix here does not count leap seconds.
Common questions
Why do some UTC times reject whole-second output?
They contain nonzero milliseconds. Select milliseconds to preserve the instant; neither positive nor negative values are rounded or floored. The host device zone is never an implicit default.
Related tools
Date difference
Calculate an interval or add days to a date.
Duration calculator
Add durations beyond 24 hours or subtract them sequentially without decimal drift, including milliseconds and negative values.
ISO week calculator
Find the ISO week number, week year, weekday and Monday–Sunday boundaries, or convert a week year and number to dates.