Skip to content

Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and back — seconds or milliseconds, local time and UTC, with a live epoch clock.

Last updated

Timestamp → date

Date → timestamp

Right now

—

How to use unix timestamp converter

  1. Paste a Unix timestamp into the "Timestamp → date" field — seconds or milliseconds both work, and the field is prefilled with the current value so you can try it instantly.
  2. Read the converted moment in your local time zone and in UTC, along with the detected unit (seconds or milliseconds).
  3. Use the Copy buttons to grab the local or UTC string exactly as shown.
  4. To go the other way, pick a date and time in the "Date → timestamp" field.
  5. Copy the resulting seconds or milliseconds value for use in code, logs or tests.
  6. Glance at the "Right now" card whenever you need the current Unix timestamp without typing anything.

Examples

Timestamp to date: 1700000000

1,700,000,000 seconds since the epoch is November 14, 2023, 10:13:20 PM UTC — the converter detects ten digits as seconds.

Milliseconds: 1700000000000

The same moment written with thirteen digits is read as milliseconds and lands on the identical date and time.

Date to timestamp: midnight on New Year’s Day 2026

Midnight, January 1, 2026 in your local zone, expressed as both epoch seconds and epoch milliseconds.

What is Unix Timestamp?

Every server log line, API response and database row hides a long number like 1700000000 — that is a Unix timestamp, and this unix timestamp converter is the quickest way to see what it actually says. Unix time, also called epoch time, counts the seconds that have elapsed since January 1, 1970 at 00:00:00 UTC, a reference point known as the epoch. It is the lingua franca of software because one integer is unambiguous: there are no month lengths, leap days or time zones to misread inside the number itself.

The catch is that the same moment can be written two ways. Languages like JavaScript and Java record epoch time in milliseconds, so their timestamps have thirteen digits instead of ten — 1700000000000 is the exact same instant as 1700000000. Paste either form here and the converter detects which unit you pasted from its size alone, then shows the moment in your local time and in UTC. That makes it a practical timestamp to date tool for reading log entries, decoding JWT expiry claims, or checking what a database integer really stored.

The page also runs the other way: pick a date and time and get the epoch seconds and milliseconds for it, which is handy when writing test fixtures or seed data. And because "what is the current unix timestamp right now?" is a question developers ask constantly, a live card ticks the present epoch in both units, updating every second. Everything is computed in your browser — no log snippet, token or database value you paste ever reaches a server.

Frequently asked questions

What is a Unix timestamp?

A Unix timestamp is a single integer counting time from the epoch — midnight on January 1, 1970 at 00:00:00 UTC. A value of 0 means that exact moment, 86,400 is one day later, and negative numbers count backwards into the 1960s. Because it is just a number, software can store, sort and compare timestamps without any date-formatting headaches.

What is the difference between seconds and milliseconds?

Both count from the same epoch, but the units differ by a factor of a thousand. Unix systems and most command-line tools use seconds (currently ten digits), while JavaScript’s Date.now(), Java and many other runtimes use milliseconds (currently thirteen digits). This converter tells them apart automatically: anything below 100 billion is treated as seconds, anything at or above it as milliseconds, so you never need to choose a unit yourself.

Is this converter time zone aware?

A timestamp itself has no time zone — it is one absolute moment everywhere on Earth. What depends on a zone is how that moment is displayed, so this tool shows each result twice: once in your device’s local time zone and once in UTC, which is the reference developers usually compare against.

What is the Year 2038 problem?

Systems that store Unix time as a signed 32-bit integer run out of range at 03:14:07 UTC on January 19, 2038, when the counter overflows and can flip to a large negative number. It is the epoch’s own Y2K-style bug. Modern systems use 64-bit integers or millisecond timestamps, both of which will not overflow for hundreds of billions of years.

How do I get the current Unix timestamp?

The "Right now" card on this page shows the current epoch ticking live in both seconds and milliseconds — copy whichever your system expects. In JavaScript you would write Date.now() for milliseconds or Math.floor(Date.now() / 1000) for seconds; on a Unix shell, the date +%s command prints the current seconds.

Why does my timestamp show a date before 1970?

Negative timestamps count backwards from the epoch, so a value like -86,400,000 milliseconds is December 31, 1969. That is perfectly valid and usually means a system defaulted to -1 or zero-adjacent sentinel values, or that someone genuinely recorded a pre-1970 date this way.

Browse all time & date.