Unix Time Converter — Epoch Timestamp
Free Unix time converter. Convert between Unix/Epoch timestamps and human-readable dates instantly. Live clock, millisecond support, and code snippets.
Current Unix Timestamp
—
Convert
How to Use
Choose a mode: "Unix → Date" to convert a timestamp to a human date, or "Date → Unix" to convert a date to a timestamp.
Enter a Unix timestamp (seconds or milliseconds — auto-detected) or pick a date, time, and timezone.
Click Convert to see the result with UTC date, ISO 8601 format, day of week, and code snippets in 5 languages.
What is a Unix Timestamp?
A Unix timestamp is the number of seconds since January 1, 1970, 00:00:00 UTC (the "Unix Epoch"). It is used by all major operating systems and programming languages to store and compare dates. For example, timestamp 1700000000 = November 14, 2023. The current timestamp updates every second and is shown in the live clock above.
Complete Guide to Unix Time
How Unix Time Works
Unix time is a simple, universal way to represent any point in time as a single number. Instead of dealing with years, months, days, hours, minutes, and timezones separately, everything is reduced to one integer: the number of seconds since the epoch (January 1, 1970 UTC). This makes time comparison trivial — if timestamp A is greater than B, then A is later. It also eliminates timezone confusion since Unix time is always in UTC.
How to Convert Unix Timestamp to Date
In every major programming language, conversion is built in:
JavaScript: new Date(timestamp * 1000) — JavaScript uses milliseconds, so multiply by 1000.
Python: datetime.utcfromtimestamp(ts) — returns a datetime object in UTC.
PHP: date('Y-m-d H:i:s', $ts) — formats the timestamp to your desired format.
SQL: FROM_UNIXTIME(ts) in MySQL, or to_timestamp(ts) in PostgreSQL.
Seconds vs Milliseconds
Most systems use seconds (10 digits, e.g. 1700000000). JavaScript and Java use milliseconds (13 digits, e.g. 1700000000000). Our converter auto-detects: if you enter 13+ digits, it divides by 1000 automatically. When working with APIs, always check their documentation to know which format they expect.
The Year 2038 Problem
Systems using a 32-bit signed integer for Unix time will overflow on January 19, 2038 at 03:14:07 UTC — the maximum value is 2,147,483,647 seconds. After this, the timestamp wraps to a negative number representing December 13, 1901. Modern 64-bit systems store timestamps as 64-bit integers, supporting dates up to 292 billion years in the future. Most modern software has already migrated, but legacy embedded systems (ATMs, IoT devices, older databases) may still be affected.
Unix Time and Timezones
Unix timestamps have no timezone — they always represent UTC. When you display a timestamp to a user, you convert it to their local timezone. This is why Unix time is ideal for storing dates in databases: store once in UTC, display in any timezone. The formula is: local time = UTC time + timezone offset. Our "Date → Unix" converter lets you specify a timezone so the conversion is accurate.
Notable Unix Timestamps
0 — January 1, 1970 00:00:00 UTC (the Epoch)
1000000000 — September 9, 2001 01:46:40 UTC (the billennium)
1234567890 — February 13, 2009 23:31:30 UTC
2000000000 — May 18, 2033 03:33:20 UTC
2147483647 — January 19, 2038 03:14:07 UTC (32-bit max — Y2K38)
Frequently Asked Questions
What is Unix time?
Why does Unix time start on January 1, 1970?
What is the current Unix timestamp?
How do I convert a Unix timestamp to a date?
How do I convert a date to a Unix timestamp?
What is the Year 2038 problem?
What is the difference between Unix time and UTC?
Do Unix timestamps include leap seconds?
Can Unix timestamps be negative?
What is a Unix timestamp in milliseconds?
Share This Tool
Found it useful? Share it with your friends, classmates, or colleagues.