Unix Time Explained

At midnight UTC on September 27, 2026, the Unix clock read 1,790,467,200. That single number is how most servers, phones, and databases store the moment. It counts the seconds since the first instant of 1970, with no months, time zones, or daylight saving mixed in. Here is how to read it, check it by hand, and avoid its traps.

Quick Answer

  • Unix time is the number of seconds since 00:00:00 UTC on January 1, 1970, called the epoch.
  • Every Unix day holds exactly 86,400 seconds, so leap seconds get no number of their own.
  • A 10-digit value is usually seconds, and a 13-digit value is usually milliseconds.
  • The number is the same everywhere; time zones only change how it is displayed.
  • Signed 32-bit clocks run out at 2,147,483,647, which is 03:14:07 UTC on January 19, 2038.

What Does a Unix Timestamp Actually Count?

A Unix timestamp counts the seconds that have passed since the epoch, 00:00:00 UTC on January 1, 1970. The POSIX standard defines that epoch, and it calls the count “seconds since the Epoch.”

So the value 0 is the epoch itself. The value 60 is one minute later, and 3,600 is one hour later. The value 1,000,000,000 landed at 01:46:40 UTC on September 9, 2001.

The count keeps climbing by one every second. Programs love it because comparing two moments becomes simple subtraction. For example, a log line stamped 1,700,003,600 happened exactly 3,600 seconds, or one hour, after one stamped 1,700,000,000.

You will also see the names epoch time and POSIX time. All three names describe the same count.

A plain number also sorts perfectly. Ordering a million log lines by time takes one numeric sort, with no date parsing at all. Durations work the same way, since a week is always 604,800 seconds in Unix time.

Unix time milestones on a to-scale number line A number line from 0 to 2,147,483,647 seconds. Marks show 0 on January 1, 1970, one billion on September 9, 2001, 1.7 billion on November 14, 2023, 1.79 billion on September 27, 2026, and the signed 32-bit limit on January 19, 2038. Seconds since the epoch, drawn to scale 0 Jan 1, 1970 1,000,000,000 Sep 9, 2001 1.70 billion Nov 14, 2023 1.79 billion Sep 27, 2026 2,147,483,647 32-bit limit Jan 19, 2038
Each mark sits at its true position. Today’s count has used about 83 percent of the signed 32-bit range.

Can You Decode 1,700,000,000 With Pencil and Paper?

Yes. Divide the timestamp by 86,400, the seconds in one day. The whole-number part counts days since the epoch, and the remainder gives the time of day.

Take 1,700,000,000, the example on our Unix timestamp converter page. Dividing by 86,400 gives 19,675 full days with 80,000 seconds left over.

Now turn 80,000 seconds into a clock time. That is 22 hours (79,200 seconds), then 13 minutes (780 seconds), then 20 seconds. Counting 19,675 days forward from January 1, 1970 lands on November 14, 2023.

The answer is Tuesday, November 14, 2023, at 22:13:20 UTC. In ISO 8601 form, that reads 2023-11-14T22:13:20Z, where the Z marks a UTC offset of zero.

The day count is the slow step, because months and years have different lengths. POSIX handles it with a formula that adds a day every fourth year, then drops or restores century days. That matches the calendar rule in our guide to how leap years work.

Decoding a timestamp in three steps 1,700,000,000 divided by 86,400 gives 19,675 days and a remainder of 80,000 seconds. The days count forward to November 14, 2023, and the remainder becomes 22:13:20 UTC. From one number to a date 1,700,000,000 seconds / 86,400 19,675 days 80,000 s left Nov 14, 2023 22:13:20 UTC
Whole days give the date; the remainder gives the clock time.

Where Do Leap Seconds Go in Unix Time?

Nowhere. POSIX says every day is counted as exactly 86,400 seconds, so a leap second never gets its own Unix number. The count simply skips over it.

Leap seconds are real, though. NIST explains that they began in 1972 and are added on the last second of June or December. On those nights, a UTC clock reads 23:59:59, then 23:59:60, then 00:00:00.

Unix time has no slot for 23:59:60. POSIX leaves the exact handling to each system, calling the adjustment “implementation-defined.” As a result, subtracting two timestamps across a leap second gives one second less than the true elapsed time.

For most tasks, this gap does not matter. A timestamp still maps to one clear UTC date and time. It matters for work that measures exact intervals, such as scientific logging or network timing across a leap second.

Handy Unix time spans
Span Seconds
1 minute 60
1 hour 3,600
1 day 86,400
1 week 604,800
365-day year 31,536,000
366-day year 31,622,400

Is That Timestamp in Seconds or Milliseconds?

Count the digits. A current timestamp in seconds has 10 digits, and the same moment in milliseconds has 13 digits. The millisecond value is exactly 1,000 times larger.

For example, 1700000000 and 1700000000000 describe the same instant in November 2023. JavaScript dates store milliseconds since the epoch. POSIX systems, by contrast, count whole seconds.

The 10-digit rule has limits worth knowing. Seconds values stayed at 9 digits until 01:46:39 UTC on September 9, 2001. They will keep 10 digits until 17:46:39 UTC on November 20, 2286.

Mixing the two units causes wild errors. Reading a millisecond value as seconds throws the date tens of thousands of years into the future. Reading seconds as milliseconds lands you in January 1970. The converter guards against the first mistake by treating any value of 100,000,000,000 or more as milliseconds.

Why Does One Timestamp Show Three Different Clock Times?

A Unix timestamp marks one instant for the whole planet. Time zones only enter when software turns that number into a local clock reading on a screen.

Take 1,700,000,000 again. In UTC it reads 22:13:20 on November 14, 2023. In Tokyo, at UTC+9, the same instant shows 07:13:20 on November 15. In India, at UTC+5:30, it shows 03:43:20 on November 15.

Notice that two of the three readings fall on a different date. That is why you should store the raw timestamp and convert only at display time. Daylight saving changes the displayed hour, but it never changes the stored number.

Working out offsets by hand has its own traps, like half-hour zones and date-line jumps. Our guide to time zone calculation covers those in detail.

One practical habit helps a lot. When you log an event, save the timestamp and the viewer’s zone name as separate fields. That way, you can always rebuild the local time later without guessing.

One instant, three local displays The timestamp 1,700,000,000 shows as 22:13:20 on November 14 in UTC, 07:13:20 on November 15 in Tokyo at UTC plus 9, and 03:43:20 on November 15 in India at UTC plus 5:30. The number stays put; the display moves 1,700,000,000 UTC (+0) Nov 14, 22:13:20 Tokyo (UTC+9) Nov 15, 07:13:20 India (UTC+5:30) Nov 15, 03:43:20
Store the number once, then convert to local time only when a person needs to read it.

What Breaks When 32-Bit Clocks Hit January 2038?

A signed 32-bit number tops out at 2,147,483,647. As a Unix timestamp, that is 03:14:07 UTC on Tuesday, January 19, 2038. One second later, the count cannot fit.

In standard signed storage, adding one more second wraps the value to -2,147,483,648. Read as a date, that lands at 20:45:52 UTC on December 13, 1901. A device with this flaw would suddenly believe it is 136 years in the past.

The fix is a wider number. A signed 64-bit count lasts about 292 billion years, far beyond any practical need. POSIX only says the time type must be an arithmetic type of suitable length, so the width depends on the system.

Older embedded devices, file formats, and database columns carry the most risk. An unsigned 32-bit count lasts longer, to 06:28:15 UTC on February 7, 2106, but it cannot store dates before 1970.

Future dates reach the limit first. A program that schedules events 15 years ahead already handles dates past 2038 today.

Quick check: Take any stored date past January 19, 2038, such as a 30-year loan end date. Convert it to a timestamp and confirm it exceeds 2,147,483,647 without turning negative.
Have a timestamp to read?

Paste it into the Unix Timestamp Converter to see its UTC date, ISO 8601 form, and weekday. It also turns a date into a timestamp.

FAQs About Unix Time

What Is Unix Time in Simple Terms?

It is a running count of seconds that started at midnight UTC on January 1, 1970. Computers store a moment as that single number, then turn it into a date for people to read.

What Is the Unix Timestamp for September 27, 2026?

At 00:00:00 UTC on September 27, 2026, the timestamp is 1,790,467,200. Add 3,600 for each hour after midnight UTC to reach a later time that day.

Is Unix Time the Same as UTC?

Not exactly. Unix time is a count that maps to UTC dates, but it treats every day as 86,400 seconds. UTC clocks sometimes show a 61st second in a minute, called a leap second, which Unix time skips.

How Can I Tell Seconds From Milliseconds?

Count the digits. Timestamps from 2001 through 2286 have 10 digits in seconds and 13 digits in milliseconds. A millisecond value is always 1,000 times the seconds value for the same moment.

Does Daylight Saving Time Change a Unix Timestamp?

No. The stored number never shifts for daylight saving or time zones. Only the local clock reading changes when software displays the timestamp for a particular place.

Can a Unix Timestamp Be Negative?

Sometimes. POSIX leaves negative values undefined, but JavaScript dates accept them for times before 1970, reaching back to the year 271,821 BC.

Why Does the Year 2038 Problem Only Affect Some Systems?

It hits systems that store time in a signed 32-bit number, which maxes out at 2,147,483,647. Systems using 64-bit time have room for about 292 billion years.

Sources

References Used in This Article

This article explains how Unix time counts and displays moments. System behavior at leap seconds and in 2038 varies, so check your own platform’s documentation. Reviewed for accuracy by Prof. Dr. Khalil Mudassar, PhD. Last updated September 27, 2026.


Author

shakeel-Muzaffar
Founder & Editor-in-Chief at  ~ Web ~  More Posts

Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.