Skip to content

Unix Timestamp Converter

Convert Unix timestamps to dates in UTC and your time zone, and dates back to timestamps.

Current Unix time

…

Timestamp to date

Date to timestamp

Time zone

Runs in your browser — nothing you enter is sent to a server.

How the Unix Timestamp Converter works

A Unix timestamp (epoch time) counts the seconds since 1 January 1970 at 00:00:00 UTC. It's the same moment everywhere in the world, so the converter shows it in UTC and in your own time zone, as ISO 8601, and relative to now.

Paste a timestamp in seconds, milliseconds (JavaScript, Java), microseconds or nanoseconds; the unit is detected from the number of digits, or you can choose it. To go the other way, pick a date and time, choose whether it's your local time or UTC, and copy the timestamp.

Formula

t = (date − 1970-01-01T00:00:00Z) in seconds

Milliseconds are t × 1,000. Leap seconds are ignored, as in every operating system, so every day has exactly 86,400 seconds.

Examples

New Year 2026

1767225600 → 2026-01-01T00:00:00.000Z

Milliseconds

1767225600000 has 13 digits, so it's read as milliseconds: the same moment.

Before 1970

-86400 → 1969-12-31T00:00:00.000Z, one day before the epoch.

Frequently asked questions

What is the year 2038 problem?

Systems that store timestamps as signed 32-bit integers overflow at 2,147,483,647 seconds — 19 January 2038 at 03:14:07 UTC. Modern systems use 64-bit values, which last billions of years.

Does a Unix timestamp depend on the time zone?

No. The same instant has the same timestamp everywhere; only its display as a local date and time changes.

Why does a local time say it doesn't exist?

When daylight saving time starts, clocks jump forward and skip an hour, so times in that hour never happen locally. Pick another time, or enter the time in UTC.

Time Converter

Convert milliseconds, seconds, minutes, hours, days, weeks, months and years.

Converters

UUID Generator

Generate random version 4 or time-ordered version 7 UUIDs, up to 1,000 at a time.

Developer Tools