100% free · Runs 100% in your browser · No signup needed
Unix time = seconds since 1970-01-01T00:00:00Z (UTC), the epoch — leap seconds are not counted. Millisecond timestamps are what JavaScript’s Date uses. Auto-detect by digits: 10 → seconds, 13 → ms, 16 → µs, 19 → ns. Fun fact: 32-bit signed timestamps max out at 2,147,483,647 (2038-01-19T03:14:07Z) — the Year 2038 problem.
Try an example: 2026-01-01 00:00 UTC
If you've ever stared at a number like 1704067200 in a database, a log file, or an API response and wondered what date it represents, you needed a Unix Timestamp Converter. Unix time counts the seconds elapsed since 1970-01-01T00:00:00Z (UTC) — the "epoch" — and it underpins nearly every system on the internet. FistHost's converter translates timestamps to human dates and back, instantly, in your browser.
Unix time is simply the number of seconds that have passed since midnight on January 1, 1970, in UTC. That moment — 1970-01-01T00:00:00Z — is called the epoch. One detail worth knowing: leap seconds are not counted in Unix time, so it's not a perfect measure of elapsed physical time — it's a convention every major system agrees on.
1704067200 = 2024-01-01 00:00:00 UTC.Date uses, e.g. 1704067200000.The maximum value of a signed 32-bit integer is 2,147,483,647 — which as a Unix timestamp is 2038-01-19T03:14:07Z. Systems still storing time in 32-bit signed integers will overflow on that date, exactly like Y2K in miniature. Modern systems use 64-bit time and are fine, but embedded devices and legacy databases may still bite. Paste 2147483647 into the tool and see the fateful second for yourself.
created_at / updated_at as epoch seconds or milliseconds.Date.now() returns milliseconds — the #1 source of "why is my date in the year 52,000?" bugs when developers treat it as seconds.exp and iat claims are Unix timestamps in seconds — decode them with our JWT tooling and verify moments here.Debugging timestamps in your app's logs at 2 AM? You need hosting with real tools and honest pricing. FistHost shared hosting starts at just $0.99/month, and the annual plan includes a free domain — deploy your side projects, APIs, and cron-driven apps without the enterprise price tag.
-86400 = 1969-12-31). The tool handles them correctly.0 → 1970-01-01T00:00:00Z (the epoch itself)1000000000 → 2001-09-09T01:46:40Z (the "billion second" party)1234567890 → 2009-02-13T23:31:30Z1704067200 → 2024-01-01T00:00:00Z2147483647 → 2038-01-19T03:14:07Z (32-bit limit)Timestamps rarely travel alone. Measure spans with the Date Duration Calculator, convert between zones with the Time Zone Converter, skip non-working days with the Working Days Calculator, and count down to launches with the Countdown Timer. Every one of them is free and runs entirely client-side.
FistHost builds free developer tools because we believe the web should be accessible — no sign-ups, no tracking, no paywalls. When your project outgrows localhost, FistHost shared hosting at $0.99/month with a free domain on the annual plan gets it live in minutes. Build, convert, deploy — all with FistHost.
Every major language has a one-liner for epoch time — but they disagree on units, which is exactly why this tool exists:
Date.now() → milliseconds; Math.floor(Date.now()/1000) → seconds.int(time.time()) → seconds; datetime.fromtimestamp(ts, tz=timezone.utc) → datetime.time() → seconds; date('Y-m-d H:i:s', $ts) → formatted date.UNIX_TIMESTAMP('2024-01-01 00:00:00') → seconds; FROM_UNIXTIME(1704067200) → datetime.System.currentTimeMillis() → milliseconds; Instant.now().getEpochSecond() → seconds.The pattern to memorize: web/Java APIs lean milliseconds, Unix/PHP/SQL lean seconds. When copying a value between systems, convert it here first and sanity-check the resulting date — a year-52,000 result means you mixed the units.
exp claims are epoch seconds — paste one here to see exactly when a token dies, in your own timezone.Storing dates as a single integer turned out to be one of computing's best ideas:
The relative-time readout ("3 hours ago") in the tool exists because humans don't think in integers — machines do, and the converter is the bridge between the two.
Brendan Eich's original Date implementation chose millisecond precision, and the web has been converting ever since. Always check the unit before doing date math in JS.
No. Unix time ignores leap seconds by definition, so converting between Unix time and UTC around a leap second needs special handling — for everyday use, you can ignore this.
Yes — they appear as negative timestamps, and the tool converts them just like positive ones.
Nothing. All conversion happens locally in your browser; your timestamps and dates never leave your machine.
No reviews yet. Be the first to review this tool!
Reviews are protected by captcha and moderated before they appear.