What Is Unix Time?
Unix time (also called Epoch time) counts the number of seconds since January 1, 1970 (midnight UTC). It's a universal timestamp format used across programming languages and databases. JavaScript uses milliseconds (13 digits), while most other systems use seconds (10 digits).
How to Use
The tool has two modes. Timestamp to Date: enter a Unix timestamp and click Convert to see the date in UTC and local time. Date to Timestamp: pick a date/time and click Convert to get the corresponding Unix timestamp in both seconds and milliseconds.
Usage Example
Timestamp to Date:
Input: 1718467200
Output: UTC: Sun, 16 Jun 2024 00:00:00 GMT
Local: 6/15/2024, 5:00:00 PM (PST)
ISO: 2024-06-16T00:00:00.000Z
Date to Timestamp:
Input: 2024-06-16 00:00
Output: Seconds: 1718467200
Milliseconds: 1718467200000
Key Timestamps
| Event | Timestamp (Seconds) | Date (UTC) |
|---|---|---|
| Unix Epoch | 0 | Jan 1, 1970 |
| Y2K | 946684800 | Jan 1, 2000 |
| Year 2038 Problem | 2147483647 | Jan 19, 2038 |
Frequently Asked Questions
On January 19, 2038, 32-bit signed integers will overflow for Unix timestamps. Many older systems using 32-bit time_t will need to be updated to 64-bit before then. Modern systems using 64-bit integers are not affected.
10-digit numbers are seconds (Unix/PHP/Python), 13-digit numbers are milliseconds (JavaScript/Java/C#). The tool auto-detects which format you're using.