Current Unix time, in seconds since January 1, 1970 UTC
  milliseconds
–
 
Theme
Sound
Tab next field M make it yours F full screen

Epoch converter

See the current Unix timestamp, ticking live, convert a Unix timestamp into a readable date and time, or turn a date into a timestamp. Paste seconds, milliseconds or microseconds and the converter works out which you meant, then shows the result in your time zone, in UTC and in ISO 8601.

Seconds or milliseconds

Timestamps of 10 digits are read as seconds, 13 digits as milliseconds and 16 as microseconds, the usual sizes in logs and databases.

Three formats at once

Your local time with its zone, the same moment in UTC, and the ISO 8601 string you can paste into code.

Both directions

Pick a date and time, local or UTC, and get the timestamp in seconds and in milliseconds.

What is Unix time?

The current epoch is the number of seconds that have passed since the Unix epoch, shown live at the top of the page. Unix time, also called epoch time or POSIX time, counts the seconds since 00:00:00 UTC on January 1, 1970, the Unix epoch. It ignores leap seconds, so every day is exactly 86,400 seconds long. Because it has no time zone, the same timestamp means the same moment everywhere, which is why servers, databases and APIs store times this way.

JavaScript, Java and many web APIs count in milliseconds instead, which adds three digits. Systems that store Unix time in a signed 32-bit number run out of room on January 19, 2038, a date often called the Year 2038 problem; 64-bit systems are not affected.

MomentUnix time (seconds)
The Unix epoch, January 1, 1970 UTC0
One billion seconds, September 9, 20011000000000
January 1, 2026, 00:00 UTC1767225600
January 1, 2027, 00:00 UTC1798761600
Two billion seconds, May 18, 20332000000000
The 32-bit limit, January 19, 20382147483647

How to use it

  1. Read the live clock at the top, or press Copy for the current timestamp.
  2. Paste a timestamp into Timestamp to date.
  3. Pick a date in Date to timestamp, and tick UTC if it is a UTC time.
  4. Copy the result you need: local, UTC or ISO 8601.

Questions

Is this an epoch date converter?

Yes. It converts both ways: as an epoch Unix timestamp converter it turns seconds or milliseconds since 1970 into a date, and it turns any date back into epoch time.

How do I convert a Unix timestamp to a date?

Paste it into Timestamp to date. The converter detects seconds or milliseconds and shows the date in your time zone, in UTC and in ISO 8601.

What is the difference between epoch time and Unix time?

They are the same thing: seconds since the Unix epoch, January 1, 1970 at 00:00 UTC.

What is the current Unix timestamp?

It is the number shown in the cards at the top of the page, in seconds, and in milliseconds under them. It goes up by one every second. Press Copy to take the current epoch.

How do I get the current timestamp in code?

In JavaScript, Math.floor(Date.now() / 1000). In Python, int(time.time()). In a Unix shell, date +%s.

Does Unix time include leap seconds?

No. Unix time treats every day as 86,400 seconds, so a leap second is not counted separately.

To read or write a timestamp as text, the ISO 8601 converter turns an ISO date string into a readable date and back. Related: week number and Zulu time.

More clocks and timers

Calculators