Unix Epoch Timestamp Converter

Convert Unix epoch timestamps (seconds & milliseconds) to human-readable UTC and local dates, or convert any date to Unix epoch timestamps. 100% free.

Free No Signup Required Browser-Based
Live Current Unix Epoch Timestamp (Seconds)
1789240342

Epoch to Human Date

UTC: Tue, 14 Nov 2023 22:13:20 GMT
ISO 8601: 2023-11-14T22:13:20.000Z
Local Time: Tuesday, November 14, 2023 at 10:13:20 PM

Human Date to Unix Epoch

Seconds:
1789240320
Milliseconds:
1789240320000

What Unix Epoch Timestamp Converter Does

A Unix timestamp is the number of seconds elapsed since 00:00:00 UTC on 1 January 1970, called the epoch. It is a single integer with no timezone, no locale and no ambiguity, which is exactly why almost every system stores time this way and formats it only at the moment of display.

The subtleties are in what it deliberately ignores. Unix time pretends leap seconds do not exist — every day contains exactly 86,400 seconds — so it is not a true count of elapsed physical seconds. During a leap second the same timestamp is used twice.

This converter translates between Unix seconds, milliseconds and human-readable dates in both UTC and your local timezone, and shows the ISO 8601 form.

How to Use Unix Epoch Timestamp Converter

  1. View the real-time live ticking Unix timestamp at the top
  2. Enter any epoch timestamp to convert to UTC, ISO 8601, and Local date format
  3. Or pick any calendar date/time to convert to Unix seconds and milliseconds

Formula Used by Unix Epoch Timestamp Converter

Timestamp to calendar date

date = epoch + (timestamp seconds)

epoch
1970-01-01T00:00:00Z
timestamp
Seconds since the epoch; negative values are dates before 1970

Worked example

The timestamp 1000000000.

  1. 1,000,000,000 ÷ 86,400 = 11,574.07 days
  2. 11,574 days after 1 Jan 1970 lands on 9 September 2001
  3. Remainder 0.074 × 86,400 ≈ 6,400 seconds ≈ 01:46:40

Result: 2001-09-09T01:46:40Z — a timestamp widely celebrated when it rolled over.

Seconds or milliseconds?

if timestamp > 100000000000 then it is milliseconds

10^11
A seconds timestamp reaches this only in the year 5138, so anything larger is almost certainly milliseconds

Worked example

Deciding how to read 1735689600 and 1735689600000.

  1. 1735689600 is below 10^11 → seconds → 2025-01-01T00:00:00Z
  2. 1735689600000 is above 10^11 → milliseconds → the same instant

Result: Unix tools and most databases use seconds; JavaScript Date.now() and Java use milliseconds. Mixing them shifts dates by roughly 50 years.

Reference Timestamps

InstantUnix secondsISO 8601
Unix epoch01970-01-01T00:00:00Z
One billion seconds10000000002001-09-09T01:46:40Z
Start of 20009466848002000-01-01T00:00:00Z
Start of 202517356896002025-01-01T00:00:00Z
32-bit signed overflow21474836472038-01-19T03:14:07Z

Precision Units in Common Use

UnitDigits (current era)Used by
Seconds10Unix tools, PostgreSQL, most APIs
Milliseconds13JavaScript, Java, MongoDB
Microseconds16Python time_ns/1000, some databases
Nanoseconds19Go, Rust, high-resolution tracing

How to Read Your Result

The Year 2038 problem

A signed 32-bit integer holds at most 2,147,483,647, which is reached at 03:14:07 UTC on 19 January 2038. One second later it wraps to a negative value and the date reads as December 1901. Most modern systems moved to 64-bit time long ago, but embedded devices, old file formats and unmigrated database columns remain exposed. It is the same class of bug as Y2K, with a firm deadline.

Store UTC, display local

A Unix timestamp has no timezone — it is an instant, not a wall-clock reading. The correct pattern is to store the instant and apply a timezone only when rendering. Storing a local time without its offset is unrecoverable: you cannot later determine which instant "2025-03-30 01:30" referred to in a region where that hour was skipped or repeated by daylight saving.

Leap seconds

Unix time defines every day as 86,400 seconds, so it silently absorbs leap seconds by repeating a value rather than incrementing. It is therefore not a monotonic count of physical seconds, and differences across a leap second are off by one. For measuring elapsed durations, use a monotonic clock instead.

Limitations & Accuracy Notes

  • Conversions here use your browser's timezone database for local time. If your device timezone is wrong, local results will be wrong; the UTC output is unaffected.
  • Historic dates before about 1970 are handled arithmetically and ignore local calendar reforms and historical timezone offset changes, which were frequent and irregular.
  • Negative timestamps are supported by the arithmetic but handled inconsistently across languages and databases. Test before relying on them.
  • The tool does not model leap seconds, because Unix time does not represent them.

Frequently Asked Questions

What is a Unix timestamp?
A Unix epoch timestamp is the total number of seconds that have elapsed since midnight UTC on January 1, 1970 (excluding leap seconds).
How do I tell if a timestamp is in seconds or milliseconds?
A 10-digit timestamp (e.g. 1700000000) is in seconds, while a 13-digit timestamp (e.g. 1700000000000) is in milliseconds.
Is my timestamp in seconds or milliseconds?
Length is the giveaway. A current timestamp in seconds is 10 digits; in milliseconds it is 13. JavaScript uses milliseconds while most other languages and databases use seconds, and a factor-of-1000 mistake lands you in 1970 or in the year 54,000.
What is the year 2038 problem?
A signed 32-bit integer counting seconds overflows on 19 January 2038, wrapping to a negative number and therefore to 1901. Modern systems use 64-bit values and are unaffected, but embedded devices and old file formats can still hit it.
Does a Unix timestamp have a time zone?
No — it is always UTC by definition. Time zones are applied only when converting it to a human-readable date. That property is the main reason to store timestamps rather than formatted date strings.
Does it account for leap seconds?
Unix time deliberately ignores them: every day is treated as exactly 86,400 seconds. This means Unix time is not a true count of elapsed SI seconds since the epoch, which matters for precision timing and almost nothing else.
Is my data sent anywhere?
No. The conversion is arithmetic performed in your browser.

References & Further Reading

By OnlineToolHubs Team • September 2026