$ convert --epoch
epoch converter.
Convert between Unix timestamps and human-readable dates. Supports seconds, milliseconds, and common epoch formats.
timestamp → date
UTC
2024-06-22 12:00:00
Local
2024-06-22 15:00:00
date → timestamp
Timestamp
—
| Description | Timestamp | UTC Date |
|---|---|---|
| Unix Epoch | 0 | 1970-01-01 00:00:00 |
| Y2K | 946684800 | 2000-01-01 00:00:00 |
| iPhone Launch | 1189987200 | 2007-06-29 00:00:00 |
| COVID-19 Pandemic | 1583020800 | 2020-03-01 00:00:00 |
| ChatGPT Launch | 1669852800 | 2022-12-01 00:00:00 |
| 2038 Problem | 2147483647 | 2038-01-19 03:14:07 |
| Year 2100 | 4102444800 | 2100-01-01 00:00:00 |
A Unix timestamp is the number of seconds that have elapsed since January 1, 1970 (UTC), excluding leap seconds. It is widely used in programming and databases.
Seconds-based timestamps have 10 digits (e.g., 1719062400). Milliseconds-based timestamps have 13 digits (e.g., 1719062400000) and are commonly used in JavaScript and some APIs.
On January 19, 2038, 32-bit signed integer timestamps will overflow. Systems using 64-bit integers (most modern systems) are not affected. This is the Unix version of the Y2K bug.
learn more in our detailed guide.
→ read the guide