Unix timestamp converter
Convert Unix seconds or milliseconds to UTC ISO dates and local time, or turn an ISO date with an explicit offset into a timestamp. Choose units explicitly for every conversion.
Convert Unix seconds or milliseconds to UTC ISO dates and local time, or turn an ISO date with an explicit offset into a timestamp. Choose units explicitly for every conversion.
Use a whole integer or an ISO date with seconds and Z or ±HH:MM. Maximum 100 characters.
Add an input and run the conversion to see your result.
Whole seconds round down, including before 1970: 1969-12-31T23:59:59.500Z becomes −1.
Choose the direction and select seconds or milliseconds. The tool does not guess the unit from the number length.
Enter a whole integer or an ISO date with Z or an explicit offset. Now captures the instant when clicked.
Select Convert and compare UTC with local time and its displayed zone. Copy each representation separately.
The +01:00 offset makes 01:00 the same instant as midnight UTC. Seconds since the Unix epoch are therefore zero.
1970-01-01T01:00:00+01:00
0 1970-01-01T00:00:00.000Z
Yes. They represent instants before 1970-01-01T00:00:00Z, within the Date range and safe integer limits.
A real date with T, hours, minutes, seconds and Z or an explicit ±HH:MM offset. One to three fractional digits are accepted; impossible or timezone-free dates are rejected.
Convert Unix seconds or milliseconds to UTC ISO dates and local time, or turn an ISO date with an explicit offset into a timestamp. Choose units explicitly for every conversion.
The +01:00 offset makes 01:00 the same instant as midnight UTC. Seconds since the Unix epoch are therefore zero.
Use a whole integer or an ISO date with seconds and Z or ±HH:MM. Maximum 100 characters. Processed in this browser. No data is uploaded or saved.
Use the unit documented by the source system. One second is 1,000 milliseconds. The tool does not automatically infer the unit.
UTC and local time represent the same instant. Local formatting uses the zone detected by your browser and its daylight saving rules.
Yes. They represent instants before 1970-01-01T00:00:00Z, within the Date range and safe integer limits.
A real date with T, hours, minutes, seconds and Z or an explicit ±HH:MM offset. One to three fractional digits are accepted; impossible or timezone-free dates are rejected.
Whole seconds round toward negative infinity. For example, 1969-12-31T23:59:59.500Z becomes −1, not 0. Use milliseconds to preserve that precision.