Epoch & Unix Timestamp Converter

Convert Unix timestamps into human-readable dates — and dates back into epoch seconds or milliseconds — in both your local timezone and UTC. The converter auto-detects whether your number is in seconds or milliseconds. All processing happens in your browser.

Current Unix time
seconds (10 digits) or milliseconds (13 digits) — auto-detected
Human date → Unix timestamp
Result

      

How to use the timestamp converter

  1. Timestamp → date: paste a Unix timestamp (e.g. 1780000000) and click Convert.
  2. Date → timestamp: pick a date and time, optionally check UTC, and click Convert — you get both seconds and milliseconds.
  3. Use Use current time buttons to grab the present moment in each direction.

What is a Unix timestamp?

A Unix timestamp (also called epoch time) counts the number of seconds since January 1, 1970 00:00:00 UTC — the "Unix epoch". Many APIs, databases and logging systems store time this way because it is timezone-free and easy to compare and sort. JavaScript uses the same epoch but counts in milliseconds, which is why your numbers often have 13 digits (1780000000000) instead of 10 (1780000000). This converter detects and explains both.

Frequently asked questions

Is my number seconds or milliseconds?

10-digit numbers are seconds; 13-digit numbers are milliseconds. Because both appear in the wild (APIs usually use seconds, JavaScript Date.now() uses milliseconds), this converter auto-detects: values with 12 or more digits are treated as milliseconds, everything else as seconds.

Why does the same timestamp show different local times for different users?

A timestamp is an absolute instant in time — it does not change. The human-readable date depends on the observer's timezone. This page shows the instant in both your local zone and UTC so you can always tell exactly what happened.

What is the Unix epoch and the year 2038 problem?

The epoch is midnight UTC on 1 January 1970. Classic 32-bit systems stored time as a signed 32-bit integer, which overflows on 19 January 2038. Modern 64-bit systems and JavaScript handle dates billions of years beyond that, so 2038 is a legacy concern only.

Can it handle timestamps before 1970 (negative numbers)?

Yes. Negative timestamps represent instants before the epoch and convert correctly (for example -86400 is 31 December 1969 00:00:00 UTC).

Is my timestamp uploaded anywhere?

No. Conversion uses the browser's built-in Date object entirely on your device.