Unix Timestamp Converter

Convert Unix timestamps to dates and dates to epoch seconds or milliseconds.

-Current Unix time (seconds)
-Current Unix time (milliseconds)

Timestamp to date

Seconds, milliseconds or microseconds are detected automatically.

Date to timestamp

Unix timestamp converter

Convert a Unix timestamp to a readable date in UTC, ISO 8601 and your local time, or turn a date and time into a timestamp in seconds and milliseconds. The live clock at the top shows the current epoch time. Seconds, milliseconds and microsecond timestamps are detected from their length.

What Unix time is

Unix time counts the seconds that have passed since 00:00:00 UTC on 1 January 1970, known as the epoch. It ignores time zones and leap seconds, which makes it a simple way to store and compare moments across systems.

Seconds, milliseconds or microseconds?

A 10-digit number today is in seconds, 13 digits is milliseconds (what JavaScript's Date.now() returns) and 16 digits is microseconds. Mixing them up is a very common bug: a value read as seconds when it is milliseconds lands tens of thousands of years in the future.

Time zones and daylight saving

The timestamp itself is the same everywhere. Only its display changes by time zone. When converting a date to a timestamp, choose whether you mean your local time or UTC, because the result differs by the offset.

Najczęściej zadawane pytania

What is the current Unix timestamp?

It is shown live at the top of the tool and updates every second.

How do I convert a timestamp in JavaScript?

Use new Date(seconds * 1000) for seconds, or new Date(milliseconds) for milliseconds.

What is the Year 2038 problem?

Systems that store Unix time in a signed 32-bit integer overflow on 19 January 2038. Modern 64-bit systems are not affected.

Does a Unix timestamp include a time zone?

No. It is always counted from the epoch in UTC.

Więcej w Converters & Utilities