Epoch Time

Current Epoch Time

—

Quick Range

Last

Date → Epoch

Input
From ~ To

Epoch → Date

Input
From ~ To

About this tool

Work with Unix time in one place: a live clock, dates converted to epoch, and epoch values converted back to dates. One Local/UTC switch and one Seconds/Milliseconds switch apply to both converters.

How to use

  1. Pick Local or UTC, and Seconds or Milliseconds.
  2. Use Quick Range to fill both converters with a window ending now, or type values yourself.
  3. Read the Date → Epoch and Epoch → Date results.

What epoch time is

Unix time counts seconds since 1970-01-01T00:00:00Z and ignores leap seconds. It is always UTC-based: the Local/UTC switch changes how calendar fields are interpreted and displayed, not what the number means. The same instant has the same epoch value no matter where you are.

Seconds mode uses the classic ~10-digit value; Milliseconds mode uses the ~13-digit value JavaScript works with internally. Mixing the two is the most common mistake — 1719900000 and 1719900000000 are the same instant, one thousand times apart.

Example (UTC)

Quick Range: Last 1 hour
Unit:        Seconds
Timezone:    UTC

1719900000  ->  2024-07-02 06:00:00 UTC
1719903600  ->  2024-07-02 07:00:00 UTC

Difference: 3600 seconds

In Local mode those two numbers would display as 08:00 and 09:00 on a UTC+2 machine — the same instants, shown differently. That is why the timezone has to be stated whenever an example is shared.

Limits

  • Local mode follows your device's timezone and its daylight-saving rules. During a DST change some wall-clock times occur twice or not at all, and the date field cannot express which one you meant.
  • Seconds mode drops sub-second precision, so converting milliseconds to seconds and back loses the remainder.
  • JavaScript dates cover roughly ±8.64 × 1015 milliseconds around the epoch, about ±273,000 years. Values outside that range come back as Invalid Date.
  • The live clock follows your device clock. If the system time is wrong, the clock and Quick Range are wrong with it.

FAQ

Does Local change the epoch number itself?

No. Epoch is always UTC-based. Local versus UTC changes how you enter and read calendar times, not the meaning of a given second or millisecond count.

What does Quick Range do?

It sets the start to now minus the chosen duration and the end to now, then fills the date fields and the epoch fields so both cards agree.

Seconds or milliseconds?

Seconds for classic Unix timestamps (~10 digits), milliseconds for JavaScript-style values (~13 digits). Both converters use whichever you select.

Further reading

Unix timestamps and time zones covers seconds versus milliseconds and the time-zone mistakes that keep showing up.