Timestamp Converter

Unix epoch to human date and back — seconds or milliseconds, local time and UTC, with a live clock.

Current Unix time (seconds)
—
Current Unix time (milliseconds)
—
Detected—
Local—
UTC—
Relative—
Unix seconds—
Unix milliseconds—
UTC—
Conversion happens locally in your browser — the page even works offline.

About this tool

Logs, databases and APIs speak in Unix time — the number of seconds since 1 January 1970 UTC. Humans don't. This converter translates both directions: paste an epoch value (seconds or milliseconds — it auto-detects) to see the local and UTC date plus how long ago it was, or pick a date to get its timestamp. The live clock at the top always shows the current epoch, ready to copy.

Everything runs in your browser using its own clock and time-zone database — nothing is sent anywhere, and the page works offline once loaded.

How to convert a timestamp

  1. Paste a Unix timestamp into the left box — the date appears instantly, in local time and UTC.
  2. Or pick a date and time on the right to get its epoch value in seconds and milliseconds.
  3. Need "now"? Copy it straight from the live clock at the top.

Frequently asked questions

What is a Unix timestamp?

The number of seconds elapsed since 1 January 1970 00:00:00 UTC (the Unix epoch). It's how most databases, logs and APIs store points in time, because a single number is unambiguous across time zones.

Is my timestamp in seconds or milliseconds?

Current dates are 10 digits in seconds (about 1.7 billion) and 13 digits in milliseconds. The converter detects the length automatically and tells you which interpretation it used.

Does the converter handle time zones?

Yes — every conversion shows both your local time (with your UTC offset) and UTC. A timestamp itself has no time zone; only its human-readable rendering does.

How do I get the current Unix timestamp?

It's shown live at the top of the page in both seconds and milliseconds, with copy buttons. In code: Math.floor(Date.now()/1000) in JavaScript, time.time() in Python, date +%s in a shell.

What is the year-2038 problem?

Systems that store timestamps as signed 32-bit integers overflow on 19 January 2038. Modern systems use 64-bit values, which last for billions of years — this converter handles dates far beyond 2038.