Skip to main content
Epoch / Unix Timestamp

Unix Time Now

Seconds (Unix)

1,790,848,932

Milliseconds

1,790,848,932,363

Thursday, October 1, 2026 at 10:02:12 AM UTC

Unix Timestamp → Human Date

Date → Unix Timestamp

Get Current Unix Timestamp — Code Examples

JavaScriptMath.floor(Date.now() / 1000)
Pythonimport time; int(time.time())
PHPtime()
MySQLSELECT UNIX_TIMESTAMP()
PostgreSQLSELECT extract(epoch FROM now())::bigint
Bashdate +%s
RubyTime.now.to_i
Gotime.Now().Unix()
C# (.NET)DateTimeOffset.UtcNow.ToUnixTimeSeconds()

What Is Unix Time?

Unix time is a system for describing a point in time as a single integer — the number of seconds that have elapsed since 00:00:00 UTC on Thursday, January 1, 1970 (the Unix Epoch). This representation is language-agnostic, timezone-agnostic, and immune to daylight saving time complications, making it the universal standard for timestamps in computing, databases, APIs, and log files.

The current Unix timestamp is shown live at the top of this page. It increments by 1 every second. You can verify this against any other clock or timestamp service — the Unix timestamp at any given UTC moment is always the same globally, regardless of where you are in the world.

Seconds vs Milliseconds

The original Unix timestamp is measured in seconds. However, many modern programming environments — most notably JavaScript — measure time internally in milliseconds (thousandths of a second). A seconds-based Unix timestamp currently has 10 digits. A milliseconds timestamp has 13 digits. When you receive a timestamp, check its digit count to determine which unit is being used.

The converter above automatically detects whether a number is in seconds or milliseconds based on its magnitude, so you can paste either format and get an accurate result.

The Year 2038 Problem

Legacy 32-bit systems that store Unix timestamps as a signed 32-bit integer can represent times up to 2,147,483,647 seconds past the Epoch — which corresponds to 03:14:07 UTC on January 19, 2038. After that second, the counter overflows to a negative number, causing systems to interpret the date as December 13, 1901. This is the Year 2038 problem (Y2K38). Modern 64-bit operating systems and programming languages are not affected, as 64-bit integers can represent dates billions of years into the future.

Unix Time — Frequently Asked Questions