Epoch ↔ date · Seconds/ms auto-detect

Unix Timestamp Converter with Auto Seconds/Milliseconds Detection

Convert Unix timestamps to readable dates and back — with automatic seconds/milliseconds detection and UTC plus local display.

Timestamp → date

Detected as seconds

Monday, 13 October 2025 at 05:00:00

local time

UTC

Mon, 13 Oct 2025 00:00:00 GMT

ISO 8601

2025-10-13T00:00:00.000Z

Seconds: 1,760,313,600 · Milliseconds: 1,760,313,600,000

Date → timestamp

Unix timestamp (seconds)

1,791,831,600

Milliseconds (JavaScript)

1,791,831,600,000

Interpreted in your local timezone.

Why epoch time exists

One integer, no formats, no timezones, no AM/PM ambiguity. That is why APIs, databases and logs store moments as timestamps and only format them for humans.

The seconds/ms trap

Feeding milliseconds to a seconds-based API lands you in the year 52,000+. Count the digits — 10 = seconds, 13 = milliseconds — or let the auto-detect sort it out.

2038 is coming

Signed 32-bit second counters overflow on 19 January 2038. Modern 64-bit systems are fine, but check old embedded devices and legacy file formats.

How to use the timestamp converter

  1. Timestamp → date

    Paste any epoch value. Seconds and milliseconds are auto-detected; the "Now" button fills in the current timestamp.

  2. Read both timezones

    The moment is shown in your local time, in UTC, and as an ISO 8601 string.

  3. Date → timestamp

    Pick a date and time to get the Unix timestamp in seconds (and the JavaScript millisecond form).

Date → timestamp interprets the time in your local timezone. For UTC input, convert the local result with the Time Zone Converter.

Frequently asked questions

Related tools

Need a custom tool?

We build calculators and internal tools for businesses — get in touch.

Directory last updated 2 December 2026.

Disclaimer: conversions are computed in your browser from the entered values. For system-critical timestamps (logging, billing, certificates), verify against the producing system's own clock and timezone handling.