Timestamp Converter
Timestamp to date
Choose the unit explicitly. Seconds accept up to 3 decimal places; milliseconds must be integers. Negative values represent dates before 1970.
- UTC date (ISO 8601)
- 1970-01-01T00:00:00.000Z
Date to timestamp
Enter YYYY-MM-DDTHH:mm:ss.SSS (years 0000–9999). A space may replace T; seconds and milliseconds are optional. Do not append a time-zone suffix: use the selector below.
- Unix seconds
- 0
- Unix milliseconds
- 0
- UTC date (ISO 8601)
- 1970-01-01T00:00:00.000Z
UTC has no daylight saving. Local time uses your browser’s time zone. Nonexistent times during a DST jump are rejected; repeated times use the earlier occurrence. Unix time does not count leap seconds.
Processed locally in your browser. Your input is not uploaded or saved by this tool.
How it works
Unix time measures elapsed time since 1970-01-01 at 00:00:00 UTC. Paste a timestamp and select seconds or milliseconds to see its UTC and local dates. In the other panel, enter a date and choose UTC or your local time zone to get both timestamp units. Switching timestamp units preserves the same instant. Copy buttons copy only the corresponding value.
Example
1704067200 seconds, or 1704067200000 milliseconds, corresponds to 2024-01-01T00:00:00.000Z. A value of -0.001 seconds is one millisecond before the Unix epoch: 1969-12-31T23:59:59.999Z.
Frequently asked questions
How do I know whether a timestamp is in seconds or milliseconds?
Contemporary Unix timestamps commonly have 10 digits in seconds or 13 in milliseconds, but digit count is not a reliable rule for older or future dates. Check the source API or database and select its unit explicitly. Fractional seconds preserve millisecond precision here.
Does a Unix timestamp have a time zone?
No. It identifies an instant relative to the UTC epoch. Time zones only change how that instant is displayed, or how a calendar date is interpreted. Conversion runs in your browser; your input is not uploaded or saved.