Skip to main content
← Home

Timestamp Converter

Convert Unix timestamp to readable date

Supports both seconds and milliseconds

What is a Unix timestamp?

A Unix timestamp counts seconds since 1 January 1970 00:00:00 UTC and is the same in every time zone; only its display as a date depends on the zone. The converter shows your local time, UTC and how long ago it was. 10-digit values are read as seconds, 13-digit values as milliseconds (anything above 10,000,000,000 counts as milliseconds).

Examples

Seconds (10 digits)
1700000000 → 14 Nov 2023, 22:13:20 UTC
Milliseconds (13 digits)
1735689600000 → 1 Jan 2025, 00:00:00 UTC

Frequently asked questions

How do I know if a timestamp is in seconds or milliseconds?

Current timestamps in seconds have 10 digits; in milliseconds they have 13. The converter detects this automatically: values larger than 10,000,000,000 are treated as milliseconds.

Does a Unix timestamp depend on the time zone?

No. A timestamp always counts from midnight UTC on 1 January 1970, so it is the same everywhere. Only its display as a calendar date depends on the time zone.

What is the year 2038 problem?

Systems that store timestamps as signed 32-bit integers overflow on 19 January 2038 at 03:14:07 UTC. 64-bit timestamps, used by modern systems, are not affected.

How do I get the current timestamp in code?

JavaScript: Math.floor(Date.now() / 1000). Python: int(time.time()). Shell: date +%s.

Related tools