Unix Timestamp Converter: Epoch to Date and Back

This Unix timestamp converter turns epoch time into a readable date and a date back into a Unix timestamp. It detects seconds or milliseconds automatically, shows the result in your local time zone, UTC and ISO 8601, and displays the current timestamp ticking live.

Current Unix timestamp

0

Timestamp to date

–Your time zone
–UTC
–ISO 8601
–Relative

Date to timestamp

–Seconds
–Milliseconds

Everything runs in your browser. Nothing you enter is sent to or stored on our server.

Quick answer: Paste a timestamp such as 1700000000 into Timestamp to date to see the date (14 November 2023, 22:13:20 UTC). To go the other way, pick a date and time below and read the seconds or milliseconds.

What is a Unix timestamp?

Unix time, also called epoch time or POSIX time, counts the seconds since 00:00:00 UTC on 1 January 1970, ignoring leap seconds. It is a single number with no time zone, which makes it ideal for storing and comparing times in databases, logs, APIs and programming languages. The same instant has the same timestamp everywhere in the world; only the displayed local time differs.

Seconds, milliseconds or microseconds?

Most systems use seconds (10 digits today). JavaScript, Java and many APIs use milliseconds (13 digits). Some databases and tracing tools use microseconds (16 digits) or nanoseconds (19 digits). The converter detects the unit from the number of digits and tells you which one it used.

How to use the Unix timestamp converter

  1. The big number at the top is the current Unix time, updating every second. Click Convert this to see it as a date.
  2. Paste any timestamp into Timestamp to date. Commas and spaces are ignored.
  3. To convert a date, pick it in Date and time and choose whether it is in your time zone or UTC.

Important epoch dates

TimestampDate (UTC)
01 January 1970, 00:00:00 (the Unix epoch)
10000000009 September 2001, 01:46:40
170000000014 November 2023, 22:13:20
200000000018 May 2033, 03:33:20
214748364719 January 2038, 03:14:07 (the 32-bit limit)

The year 2038 problem

Systems that store Unix time as a signed 32-bit number run out of room at 03:14:07 UTC on 19 January 2038, when the count wraps around to a date in 1901. Modern operating systems and languages use 64-bit time, which lasts for billions of years, but old embedded devices and file formats may still be affected.

Get the current timestamp in code

  • JavaScript: Math.floor(Date.now() / 1000)
  • Python: int(time.time())
  • Linux and macOS: date +%s
  • Excel: convert a timestamp in A1 with =A1/86400+DATE(1970,1,1)

To count days between two dates, use our days between dates calculator.

FAQ

Does Unix time include time zones?

No. It is always based on UTC. Time zones only matter when you display it.

Can a timestamp be negative?

Yes. Negative values are dates before 1970.

More free tools

See all of them on the QuickOnlineTips free online tools page and play our free online games.

Found this useful? Share it with someone who needs it.