Time systems, calendar references, and timezone tools.

The epoch, live

Seconds Since 1970 — Live Unix Time Counter

Watch the Unix epoch counter advance each second. The same number represents the same instant around the world, regardless of the time on your local clock.

What Are Seconds Since 1970?

Seconds since 1970 refers to the total number of seconds that have elapsed since midnight Coordinated Universal Time (UTC) on January 1, 1970. This starting point is known as the Unix epoch, and the resulting integer is called the Unix timestamp, epoch time, or POSIX time. Rather than encoding dates as separate fields for year, month, day, hour, minute, and second, epoch time collapses everything into a single continuously incrementing number. At the moment the epoch began, the counter was zero. One minute later it was 60. One hour later, 3,600. One full day later, 86,400. The counter has been ticking ever since, and today it stands at well over one and a half billion.

This raw integer representation of time has become the universal standard in computing. Every major operating system, programming language, database engine, and network protocol either uses epoch seconds natively or provides built-in functions for converting to and from it. Its simplicity is its greatest strength: comparing two moments in time is nothing more than comparing two integers, and calculating the duration between them requires only subtraction.

The Scale of Epoch Time

The Unix timestamp has passed several notable milestones since 1970. On September 9, 2001, at 01:46:40 UTC, the counter reached exactly 1,000,000,000 — one billion seconds. This event was celebrated by programmers worldwide with "billion-second parties." On November 14, 2023, the timestamp crossed 1,700,000,000. Looking ahead, the counter will reach 2,000,000,000 on May 18, 2033, and shortly after that, on January 19, 2038, it will hit 2,147,483,647 — the maximum value of a signed 32-bit integer and the trigger for the well-known Year 2038 problem.

To put these numbers in human perspective: one million seconds is about 11.5 days. One billion seconds is roughly 31.7 years. The current epoch time, in the range of 1.7 to 1.8 billion, represents over 56 years of accumulated seconds. By the time a child born today reaches retirement age, the Unix timestamp will have surpassed 3.5 billion — a number that would be unrepresentable on the 32-bit hardware that first gave rise to the system.

Seconds vs Milliseconds vs Nanoseconds

Not all timestamp systems use the same unit of precision. The classic Unix timestamp counts seconds and is currently a 10-digit integer. This is the format used by most Unix and Linux system calls, by PHP, by Python's time.time() (as a float with fractional seconds), and by PostgreSQL's EXTRACT(EPOCH FROM ...).

JavaScript and Java use millisecond timestamps — 13-digit integers that provide 1/1000th-of-a-second precision. JavaScript's Date.now() returns milliseconds directly, which is a common source of confusion when interacting with systems that expect seconds. Dividing by 1,000 and flooring the result converts a millisecond timestamp to a standard Unix timestamp.

At the other end of the spectrum, languages like Go and Rust and domains like high-frequency trading use nanosecond timestamps — 19-digit integers offering billionth-of-a-second precision. These are essential when measuring code execution time, network latency, or the ordering of events that occur within microseconds of each other. Linux's clock_gettime() system call can return nanosecond-resolution timestamps, and modern hardware timing sources like Intel's TSC (Time Stamp Counter) operate at even finer granularity.

When working across systems, always verify whether a given timestamp is in seconds, milliseconds, or nanoseconds. A quick rule of thumb: 10 digits means seconds, 13 digits means milliseconds, and 16 or more digits likely means microseconds or nanoseconds. Misinterpreting the unit will produce dates that are either thousands of years in the future or just hours after the 1970 epoch.

Frequently Asked Questions

How many seconds have passed since 1970?

The live counter shows the current whole Unix second. Each ordinary timestamp day contains 86,400 seconds. The displayed value depends on your device clock.

Why is 1970 the starting point for epoch time?

The Unix epoch was set to January 1, 1970 by Ken Thompson and Dennis Ritchie at Bell Labs. They needed a starting point close to when Unix was being developed that would produce small integers on the 32-bit PDP-series hardware they were using. The date has no special astronomical or historical significance — it is simply a shared convention that the entire computing industry adopted.

When did the Unix timestamp reach 1 billion?

The Unix timestamp reached 1,000,000,000 on September 9, 2001, at 01:46:40 UTC. Programmers around the world held "billion-second parties" to mark the occasion. The next major milestone, 2,000,000,000, will occur on May 18, 2033.

What is the difference between seconds and milliseconds in timestamps?

A standard Unix timestamp counts seconds since 1970 and is currently 10 digits long. JavaScript and Java use millisecond timestamps (13 digits) that include sub-second precision. Multiply seconds by 1,000 to get milliseconds; divide milliseconds by 1,000 and discard the remainder to get seconds.

What happens when the timestamp reaches its 32-bit limit?

On January 19, 2038 at 03:14:07 UTC, the Unix timestamp will reach 2,147,483,647 — the maximum value of a signed 32-bit integer. Systems still using 32-bit time storage will overflow, interpreting the date as December 13, 1901. Modern 64-bit systems are not affected, as a 64-bit timestamp can represent dates billions of years into the future.

Do seconds since 1970 include leap seconds?

No. The POSIX standard defines every day as exactly 86,400 seconds. When the international timekeeping community inserts a leap second, Unix systems either repeat a second or smear the adjustment. This means epoch time is not a perfect count of physical SI seconds, but it keeps the arithmetic simple and predictable for software.

What the epoch counter is measuring

A shared reference point

The counter is floor(device milliseconds since the Unix epoch / 1,000). It is a numerical timestamp for now, with subsecond precision discarded. It is not a count of seconds in your local time zone.

Changing only the device’s displayed time zone leaves the underlying instant unchanged and should not change the number. Changing the device’s actual system time changes the value this page reads.

When the difference between counters is useful

Subtract two Unix-second readings to obtain their difference in timestamp seconds. Divide by 3,600 for hours or 86,400 for 24-hour units. This is useful for event intervals, but a local calendar day can be shorter or longer around a clock change.

Compare two readings

If one event has timestamp 1768435200 and another 1768438800, the difference is 3,600 seconds, or one hour. No time-zone conversion is needed for that subtraction.

A common mistake to avoid

For elapsed performance measurements within one browser session, a monotonic stopwatch clock avoids jumps caused by adjusting the system time.