Money & metals

Live Gold Prices Live Silver Prices Currency Converter Loan & Mortgage Percentage Calculator Tip Calculator

Convert & measure

Unit Converter Age Calculator BMI Calculator Unix Timestamp

Words & text

Word Unscrambler Word Counter Case Converter

Developer

JSON Formatter Base64 Encoder Hash Generator Color Converter Password Generator

More

Numerology Calculator Guides & Resources About Tiger Tools Contact us

Unix Timestamp Converter

Epoch time to date and back — current time:


=

What is a Unix timestamp?

A Unix timestamp (also called epoch time) is the number of seconds since 1 January 1970 at midnight UTC. Because it’s a single number with no timezone attached, it’s the standard way computers store and exchange moments in time — you’ll see it in APIs, databases and log files. This tool auto-detects whether your number is in seconds or milliseconds (JavaScript uses milliseconds, which are 1000× larger) and shows the date in both your local time and UTC.

Why epoch time exists

A Unix timestamp is the number of seconds since 1 January 1970, 00:00:00 UTC. Its virtue is that it is a single integer with no timezone, no locale and no formatting: two timestamps can be compared or subtracted with plain arithmetic, and no parser can misread it. Every ambiguity in date handling comes from the human-readable layer, which is exactly what a timestamp discards.

1 hour = 3,600 1 day = 86,400 1 week = 604,800 365 days= 31,536,000

Seconds or milliseconds?

Unix tools and most APIs use seconds; JavaScript’s Date.now() uses milliseconds. Mixing them produces dates in 1970 (divided by 1,000 too often) or the year 50000+ (multiplied when it should not be). A quick check: a current timestamp in seconds is 10 digits, in milliseconds 13.

Leap seconds and the smooth clock

Unix time pretends every day has exactly 86,400 seconds. Real solar time does not cooperate, so leap seconds are inserted occasionally — and rather than count them, Unix time repeats or skips a value. Google-style “leap smearing” spreads the correction over hours instead. The practical takeaway: timestamps are excellent for ordering events but not a metrology-grade measure of elapsed physical time.

The 2038 problem

A signed 32-bit integer overflows at 03:14:07 UTC on 19 January 2038, wrapping to 1901. Modern systems use 64-bit time, which pushes the limit past the lifetime of the Sun, but 32-bit fields still lurk in embedded firmware, legacy databases and file formats. If you store epoch values, store them 64-bit.

Storing time properly

  • Store UTC, display local. Convert at the edge, never in the database.
  • Keep the IANA timezone name (Europe/Lisbon) for future events, not a fixed offset — offsets change when daylight-saving rules change.
  • Use ISO 8601 (2026-08-01T14:30:00Z) for interchange between systems; it sorts lexicographically and is unambiguous.
  • Beware the fixed offset trap. A meeting stored as UTC+1 will be wrong after the clocks change; the zone name survives it.

Local conversion

All conversions run in your browser using your device’s own timezone database, so nothing is sent anywhere.

Timestamp FAQ

What is a Unix timestamp?
The number of seconds elapsed since 1 January 1970 at midnight UTC. Because it carries no timezone or formatting, it can be compared and subtracted with plain arithmetic.
Is a timestamp in seconds or milliseconds?
Unix tools and most APIs use seconds, while JavaScript uses milliseconds. A current value has 10 digits in seconds and 13 in milliseconds.
What is the 2038 problem?
A signed 32-bit timestamp overflows at 03:14:07 UTC on 19 January 2038 and wraps back to 1901. Systems using 64-bit time are unaffected.
Does Unix time include leap seconds?
No. It assumes every day has exactly 86,400 seconds, so leap seconds are absorbed by repeating or skipping a value rather than counted.
Should I store dates as timestamps or ISO strings?
Either works if stored in UTC. ISO 8601 strings are human readable and sort correctly; integers are compact and fast to compare. For future events, also store the IANA timezone name.
Why is my date showing as 1970?
A timestamp in milliseconds was almost certainly interpreted as seconds, or a null or zero value was passed through unchecked.

Recently used

Jump back in