$ 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
DescriptionTimestampUTC Date
Unix Epoch01970-01-01 00:00:00
Y2K9466848002000-01-01 00:00:00
iPhone Launch11899872002007-06-29 00:00:00
COVID-19 Pandemic15830208002020-03-01 00:00:00
ChatGPT Launch16698528002022-12-01 00:00:00
2038 Problem21474836472038-01-19 03:14:07
Year 210041024448002100-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