Skip to content
Back to tools

Unix Timestamp ↔ Date Converter - Epoch Time Converter

Convert between Unix timestamps and human-readable dates. Side-by-side local-time and UTC views with a one-click Now button, fully client-side.

Current timestamp

s

Timestamp → Date

Date → Timestamp

A live ticking Unix timestamp, plus two timezone-aware converters: timestamp → wall-clock date (in any IANA timezone), and date → timestamp (back the other way). Switch between seconds and milliseconds with one click. The live clock updates every second and can be paused — useful when you need to snapshot the exact moment something happened. Everything runs in your browser; nothing is uploaded.

How to use

  1. 1

    Read the live clock

    The top card shows the current Unix timestamp ticking every second. Toggle between seconds (s) and milliseconds (ms), or pause it to capture a precise moment.

  2. 2

    Convert timestamp → date

    In the middle card, paste a Unix timestamp, pick its unit (s or ms) and the target timezone, then click Convert. The result is a wall-clock string in that timezone.

  3. 3

    Convert date → timestamp

    In the bottom card, enter a date as YYYY-MM-DD HH:MM:SS, pick the source timezone and the target unit, then click Convert. The date is interpreted in the chosen zone (not your browser's local zone).

  4. 4

    Copy the result

    Use the copy button next to any result field. Nothing leaves your browser at any point.

FAQ

Q.Does the live clock keep ticking when I switch tabs?

Yes — it uses setInterval, which keeps running in background tabs (throttled by the browser to roughly once per second).

Q.Which timezone is selected by default?

Your browser's resolved IANA timezone (e.g. Asia/Shanghai). You can pick any timezone from the dropdown; the list focuses on common ones across Asia, Europe, and the Americas.

Q.How does it tell seconds from milliseconds?

You pick the unit explicitly via the dropdown next to each input. No auto-detection — this avoids surprises when the same number could be both (e.g. 1700000000).

Q.Does it handle DST correctly?

Yes — the conversion uses Intl.DateTimeFormat with the chosen IANA timezone, which encodes the historical DST rules for that zone. Wall-clock times that fall in DST gaps or folds are resolved consistently across two correction passes.

Q.Why is my date interpreted differently here vs my system clock?

Because the timezone picker controls how the date string is interpreted, independent of your OS timezone. If you select Asia/Shanghai and enter 2026-05-16 17:58, the tool treats it as Shanghai local time even if your laptop is on Pacific time.

Related tools