Unix timestamp converter
Convert Unix seconds or milliseconds to UTC and Warsaw time, or an explicitly offset date to a timestamp.
Enter data
Direction, seconds or milliseconds, and a timestamp or ISO date with Z or an offset. Fields marked with an asterisk are required.
About this tool
A timestamp is not a local-zone date; it counts units from the UTC epoch. The tool requires a unit, and date conversion requires Z or an offset instead of guessing computer settings. Europe/Warsaw display helps interpret logs in Polish context and accounts for clock changes using the browser database. An ambiguous local time without an offset is not interpreted.
How to use the calculator
- Choose direction and unit. Seconds accept up to three decimal places; milliseconds require an integer.
- For a date, enter the full time including seconds and Z or an offset, for example 2026-07-01T12:00:00+02:00.
- Select “Process”. Compare UTC and Warsaw; copy the primary result.
Calculation details
Formula and calculation method
Unix 0 = 1970-01-01T00:00:00Z. Milliseconds = seconds × 1000. An offset date becomes UTC by subtracting its offset. Precision is retained to milliseconds without rounding fractions.
Worked example
Timestamp 0 seconds is 1970-01-01T00:00:00.000Z. Date 2026-07-01T12:00:00+02:00 is 10:00 UTC. Timestamp -0.001 s is one millisecond before the epoch: 1969-12-31T23:59:59.999Z.
Limitations
- UTC instant range: years 0001–9999. Seconds allow up to 3 dot-decimal places; milliseconds are integers. Dates use YYYY-MM-DDTHH:mm:ss[.SSS]Z or ±HH:mm. No exponents, decimal commas, unit detection, zoneless dates or leap seconds.
- Europe/Warsaw depends on the browser/system timezone database, especially for historical and future dates. This is not a current-time measurement, NTP synchronization or legal-deadline determination. The input offset is not checked against Warsaw rules.
Sources
Engine version: 1.0.0 · Last reviewed: 2 October 2026
Frequently asked questions
Do 13 digits automatically mean milliseconds?
No. You choose the unit explicitly. Digit count is not a reliable unit detector.
How do I enter the autumn clock change?
Supply an explicit offset such as +02:00 or +01:00. The same local clock time can denote two different instants.
Can a timestamp be negative?
Yes, within the supported range. It denotes an instant before 1970-01-01T00:00:00Z.
Is data uploaded?
Inputs and results are not sent to a server or analytics or saved in the URL or persistent form storage. Reset does not remove previous clipboard copies, printouts or data held by browser extensions. Do not paste secrets.