◆ Online Dev Kit

Unix Timestamp Converter

Epoch ↔ human date, in UTC and your local time.

About this tool

A Unix timestamp counts seconds since 1 January 1970 UTC (the epoch). This converter accepts seconds or milliseconds (auto-detected) and shows the date in UTC, ISO 8601 and your local timezone. Click Use current time to grab the present epoch. All conversion happens in your browser.

Common use cases

How it works

A Unix timestamp (Epoch time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC, not counting leap seconds. Timestamps are timezone-independent — the same timestamp represents the same moment everywhere. To convert, the timestamp is added to the epoch date and then formatted according to the desired timezone. Millisecond timestamps (13 digits) divide by 1000 to get seconds.

FAQ

Seconds or milliseconds?

Both — the tool auto-detects: 10-digit values are treated as seconds, 13-digit as milliseconds.

What timezone is shown?

Both UTC and your device's local timezone, plus the ISO 8601 string.

What is the 2038 problem?

On January 19, 2038, 32-bit signed Unix timestamps will overflow (max value 2147483647). Modern systems use 64-bit timestamps, but some legacy systems may still be affected.

Why is my timestamp in milliseconds?

Many APIs and languages (JavaScript Date, Java) use millisecond timestamps (13 digits). Divide by 1000 to get standard Unix seconds, or multiply by 1000 to convert seconds to milliseconds.