Unix Timestamp Converter
Paste an epoch value in seconds or milliseconds to see it as UTC, local time and ISO 8601 — or pick a date to get the timestamp. The current Unix time ticks at the top.
Current Unix time: …
UTC
Enter a numeric timestamp.
Local time
Enter a numeric timestamp.
ISO 8601
Enter a numeric timestamp.
About this tool
A Unix timestamp counts the seconds elapsed since 1 January 1970 UTC, ignoring leap seconds. Because it is a single integer with no timezone attached, it is the format databases, logs and APIs use to store an instant unambiguously.
Ten-digit values are seconds and thirteen-digit values are milliseconds; JavaScript uses milliseconds while most backends use seconds, which is the source of the classic 'date in 1970' and 'date in the year 55000' bugs. This converter detects the unit from the magnitude.
Frequently asked questions
- What is the Unix epoch?
- 00:00:00 UTC on 1 January 1970, the zero point that every Unix timestamp counts from.
- Seconds or milliseconds?
- A 10-digit number is seconds, a 13-digit number is milliseconds. This tool switches automatically based on the size of the value.
- Does a timestamp have a timezone?
- No. A timestamp is always an instant in UTC. The timezone only appears when you format it for display, which is why the local time above may differ from the UTC line.
- What is the 2038 problem?
- Systems that store timestamps in a signed 32-bit integer overflow on 19 January 2038. Modern systems use 64-bit values, which last far beyond any practical horizon.