Unix Timestamp Converter
Convert between Unix timestamps and human-readable dates
⏰ Current Unix Timestamp
—
Timestamp → Date
Date → Timestamp
📖 What is Unix Timestamp?
Unix time (also known as Epoch time or POSIX time) is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds.
- • Epoch: January 1, 1970 00:00:00 UTC
- • Represented as seconds since epoch
- • Language and timezone independent
- • Easy to store and compare
💡 Common Use Cases
- • Database timestamp storage
- • API request/response timestamps
- • Log file timestamps
- • Session expiration times
- • Date arithmetic and comparisons
- • Cross-platform time representation
Overview
The Unix Timestamp Converter translates between Unix time and ordinary calendar dates in both directions. It shows the current Unix timestamp ticking live, converts any timestamp into a readable date in your local time zone and in UTC, and turns a date and time you pick back into a timestamp.
Unix time, also called epoch or POSIX time, counts the seconds elapsed since the Unix epoch: 00:00:00 UTC on January 1, 1970, ignoring leap seconds. Because it is a single number with no time zone attached, it is the standard way to store and compare moments in databases, logs and APIs. Many systems, including JavaScript, use milliseconds instead of seconds; this page treats any value of 100,000,000,000 or more as milliseconds and tells you which unit it assumed.
Converting a date to a timestamp uses your device's time zone, because the date picker has no time zone of its own, and works to the nearest second. Check that your computer's time zone is correct before relying on the result.
How to Use
- See the Current Unix Timestamp at the top, which updates every second. Click the copy icon to copy it, or click Use Current Time to load it into the converter.
- To convert a timestamp to a date, type it into the Unix Timestamp field under Timestamp → Date. Seconds and milliseconds are both accepted, as are negative values for dates before 1970.
- Read the result in your local time and in UTC, along with a note saying whether the value was interpreted as seconds or milliseconds.
- To convert a date to a timestamp, choose a date and time in the Date and Time field under Date → Timestamp. The matching timestamp in seconds appears below it.
- Click the copy icon beside the timestamp to copy it.
Frequently Asked Questions
How do I convert a Unix timestamp to a date?
Multiply the timestamp by 1,000 to get milliseconds and pass it to a date function, or simply paste it into this converter. For example, 1700000000 is Tuesday, November 14, 2023 at 10:13:20 PM UTC. In New York (Eastern Standard Time, UTC−5) that is 5:13:20 PM the same day. The page shows both your local time and UTC so you can check either one.
What is the difference between a timestamp in seconds and milliseconds?
Classic Unix time, used by most Unix tools and many databases, is in seconds and currently has 10 digits. JavaScript's Date.now(), Java's System.currentTimeMillis() and many APIs use milliseconds, which currently have 13 digits. So 1700000000 and 1700000000000 describe the same moment. This converter detects the unit automatically and shows "Interpreted as seconds" or "Interpreted as milliseconds" below the result.
What is the Unix timestamp for January 1, 2026?
Midnight UTC on January 1, 2026 is 1767225600. Note that if you pick January 1, 2026 at 00:00 in the date picker on this page, the result is based on your local time zone, so it will differ from 1767225600 unless your device is set to UTC. For example, in US Eastern time midnight is five hours later in UTC, giving 1767243600.
What is the year 2038 problem?
Many older systems store Unix time as a signed 32-bit integer, whose largest value is 2,147,483,647. That moment is 03:14:07 UTC on January 19, 2038. One second later the counter overflows and can wrap to a negative number, which those systems read as December 1901. Modern operating systems and languages use 64-bit time values, but embedded devices and old file formats may still be affected.
Does Unix time include leap seconds?
No. Unix time assumes every day has exactly 86,400 seconds, so the leap seconds occasionally added to UTC are not counted. During a leap second, a Unix clock typically repeats or smears a second rather than counting it. This keeps date arithmetic simple, but it means the difference between two Unix timestamps can differ by a few seconds from the true elapsed time across a span that includes leap seconds.
Can a Unix timestamp be negative?
Yes. Negative values represent moments before the epoch. For example, −86400 is December 31, 1969 at 00:00:00 UTC, exactly one day before the epoch. This converter accepts negative timestamps, although some databases and programming libraries do not support dates before 1970, so check your target system before storing them.