About Unix Timestamp Converter
Works in both directions, which is exactly what you want when a log line hands you 1735689600 and the bug report hands you a date. Epoch values are also the usual culprit when a record turns up dated 1970.
Convert between Unix epoch time, ISO 8601 and human-readable dates in both directions, including relative time like '3 hours ago'. It is an everyday helper for working with logs, API responses, database timestamps and debugging time-zone issues.
Paste an epoch value to read it as a date, or pick a date to get its timestamp. Both seconds and milliseconds are shown, since APIs disagree about which one they mean by 'timestamp'.
Unix time counts seconds since midnight UTC on 1 January 1970, which makes it compact, timezone-free and naturally sortable — the reasons it appears throughout logs, tokens, databases and APIs. The recurring bug is units: the convention is seconds, but JavaScript, Java and plenty of APIs use milliseconds, and mixing them does not error. It silently produces a date in 1970 or one roughly fifty thousand years out. A quick check is digit count — a current timestamp is ten digits in seconds and thirteen in milliseconds.
Two further properties are worth knowing. A signed 32-bit timestamp overflows on 19 January 2038 and wraps to 1901, which is not a distant problem: any system computing dates decades ahead — a mortgage schedule, a long-dated certificate, a retention policy — can reach it today on 32-bit hardware. And Unix time deliberately ignores leap seconds, so it is not a true count of elapsed seconds. For application work that is exactly what you want; for measuring precise intervals across a leap second it is a documented limitation rather than a bug.
Common use cases
- Reading a timestamp out of a log line while debugging an incident.
- Checking a JWT's issued-at or expiry claim to explain an authentication failure.
- Converting a database column to a readable date without writing a query.
- Reconciling event times across systems that record in different formats.
- Working out how long ago something happened from a raw epoch value.