Unix Timestamp Converter
Convert Unix/Epoch timestamps to human-readable dates and vice versa. Live clock with ISO 8601, RFC 2822 & more.
Convert Timestamp to Date
Convert Date to Timestamp
Unix Time Reference Table
| Human-Readable Time | Seconds |
|---|---|
| 1 Minute | 60 |
| 1 Hour | 3,600 |
| 1 Day | 86,400 |
| 1 Week | 604,800 |
| 1 Month (30.44 days) | 2,629,743 |
| 1 Year (365.25 days) | 31,556,926 |
Get Unix Timestamp in Code
Math.floor(Date.now() / 1000)import time; int(time.time())time()System.currentTimeMillis() / 1000DateTimeOffset.Now.ToUnixTimeSeconds()time.Now().Unix()Time.now.to_idate +%sSELECT UNIX_TIMESTAMP(NOW())[DateTimeOffset]::Now.ToUnixTimeSeconds()What Is a Unix Timestamp?
A Unix timestamp (also called Epoch time, POSIX time, or Unix time) is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC — known as the Unix Epoch. It does not count leap seconds.
This system is universal: it doesn't change based on your timezone or location. Computer systems worldwide use Unix timestamps to track, sort, and synchronize dated information across distributed applications.
Timestamps can be stored in seconds (10 digits), milliseconds (13 digits), or microseconds (16 digits). Our converter automatically detects the format and converts accordingly.
The Year 2038 Problem
Systems storing Unix time as a signed 32-bit integer will overflow on January 19, 2038 at 03:14:07 UTC. The maximum value (2,147,483,647) will be exceeded, causing the timestamp to wrap around to a negative number — effectively resetting the date to December 13, 1901.
Most modern 64-bit systems are already immune to this problem, supporting dates well beyond the year 292 billion. However, legacy embedded systems, databases, and file formats may still be affected.
Frequently Asked Questions
What is the Unix Epoch?
The Unix Epoch is the point in time defined as January 1, 1970, 00:00:00 UTC. All Unix timestamps are measured as the number of seconds elapsed since this moment. It was chosen as a convenient reference point for the original Unix operating system.
How do I convert milliseconds to seconds?
Divide by 1,000. For example, the millisecond timestamp 1775213429000 equals 1775213429 in seconds. Our converter automatically detects 13-digit inputs as milliseconds.
Can Unix timestamps be negative?
Yes. Negative Unix timestamps represent dates before the Epoch (January 1, 1970). For example, -86400 represents December 31, 1969. Our converter handles negative timestamps correctly.
Does Unix time account for leap seconds?
No. Each day in Unix time is exactly 86,400 seconds. Leap seconds are not counted, which means Unix time does not perfectly represent UTC. In practice, this difference is negligible for most applications.
What's the difference between Unix time and UTC?
UTC is a time standard that accounts for leap seconds and is tied to atomic clocks. Unix time is simply a count of seconds since the Epoch, ignoring leap seconds. They diverge by about 27 seconds as of 2024.