Convert a Unix timestamp (seconds or milliseconds since January 1, 1970 UTC) to an ISO 8601 date in UTC and in the time zone you choose, and back. The unit is always chosen explicitly and you are warned when the value looks like the other unit.
When converting a date without an offset, it is interpreted in the chosen zone, detecting times that do not exist or repeat because of daylight-saving changes.
How to use it
- Choose the direction: epoch → date or date → epoch.
- Choose the unit (seconds or milliseconds) and the time zone.
- Type the value and press Run.
Example
1735689600 UTC (ISO 8601): 2025-01-01T00:00:00.000Z
Europe/Madrid (ISO 8601): 2025-01-01T01:00:00.000+01:00
Zone offset: 1 h
Epoch (seconds): 1735689600
Epoch (milliseconds): 1735689600000
Relative to now: 365 days ago Limitations
- Time zones and their rules come from your browser; old versions may not know recent changes.
- No leap seconds: Unix time ignores them.
- Representable range: ±8.64·10^15 ms.
FAQ
- How do I know whether my timestamp is in seconds or milliseconds?
- Today a timestamp in seconds has 10 digits and in milliseconds 13. The tool warns when the chosen unit does not fit.
- What is the year 2038 problem?
- Systems storing seconds in a signed 32-bit integer overflow on January 19, 2038. You are warned when a value falls outside that range.