🔒 100% private — runs in your browser, nothing is uploaded

Unix Timestamp Converter

Convert timestamps to dates and back.

Unix time counts seconds since 1970-01-01 UTC — the lingua franca of logs, APIs and databases.

… seconds

How to use

  1. See the current epoch timestamp ticking live.
  2. Enter seconds, milliseconds (13 digits) or microseconds (16 digits) — the unit is detected automatically → get the UTC and local date.
  3. Or pick a date → get its timestamp.

About this tool

Milliseconds (13 digits) vs seconds (10 digits) is the classic mix-up; this tool auto-detects seconds, milliseconds and microseconds from the size of the number.

Everything runs in your browser.

How it works

A Unix timestamp counts seconds since 1970-01-01 00:00:00 UTC (the epoch). 1704067200 is exactly 2024-01-01 00:00:00 UTC. It is timezone-free by definition — the same number names the same instant everywhere on Earth.

JavaScript's Date.now() returns milliseconds (×1000), so 1704067200000 looks deceptively similar but is a different unit. Mixing them up is the classic timestamp bug: a seconds value read as milliseconds lands you in January 1970. This converter auto-detects the unit from the size of the number — about 10 digits is seconds, 13 digits is milliseconds and 16 digits is microseconds — and shows the millisecond part explicitly.

Signed 32-bit integers overflow at 2147483647 (2038-01-19 03:14:07 UTC) — the Y2K38 problem. Modern systems use 64-bit time, but old embedded devices and binary file formats still hit the wall.

Worked examples

Reading a server log: The log shows 1728000000. Convert it to learn that means 2024-10-04 00:00:00 UTC — then convert your local deadline back to epoch seconds for the API call.

JavaScript vs backend: Date.now() gives a 13-digit millisecond value like 1728000000000. Divide by 1000 before comparing it with the 10-digit second timestamps your backend stores.

Quick reference

TimestampDate (UTC)
01970-01-01 00:00:00
10000000002001-09-09 01:46:40
17040672002024-01-01 00:00:00
21474836472038-01-19 03:14:07 (32-bit max)

Frequently asked questions

Seconds or milliseconds?

Either — the unit is auto-detected from the size of the number: 10-digit values are seconds, 13-digit values are milliseconds and 16-digit values are microseconds.

What timezone is shown?

Both UTC and your local timezone, so there is no ambiguity.

Is anything uploaded?

No.

📦 Embed this tool on your site

<iframe src="https://verystep.com/embed/timestamp/" title="Unix Timestamp Converter" width="100%" height="520" loading="lazy" style="border:0"></iframe>

Free to use. The embed shows a small "Powered by Verystep" link.

First time embedding? Read the step-by-step guide →

More free tools