Free Online Unix Timestamp Converter
Convert Unix timestamps to readable dates and dates to Unix timestamps. Auto-detects seconds vs milliseconds. Supports 8 timezones, ISO 8601, relative time.
Unix Timestamp → Human-Readable Date
Date → Unix Timestamp
What is a Unix Timestamp?
A Unix timestamp (also called epoch time or POSIX time) is the number of seconds elapsed since 00:00:00 UTC on 1 January 1970 — the Unix epoch. This zero-point was chosen because it preceded widespread Unix adoption, making it a neutral reference for all Unix systems. Timestamps are timezone-independent integers, which makes them perfect for databases, APIs, log files, and JWT tokens where a single universal reference point is essential.
The Current Epoch Translates To
The live Unix timestamp above shown in the most common date and time formats, updated every second.
| — | UTC |
| — | ISO 8601 |
| — | RFC 822 / 1036 / 1123 / 2822 |
| — | RFC 3339 |
Unix Time Conversion Reference
Common human-readable durations expressed as a number of seconds — handy when calculating expirations, TTLs, or intervals.
| Human-Readable Time | Seconds |
|---|---|
| 1 Hour | 3600 |
| 1 Day | 86400 |
| 1 Week | 604800 |
| 1 Month (30.44 days) | 2629743 |
| 1 Year (365.24 days) | 31556926 |
Unix Timestamp: Seconds vs Milliseconds
The most common source of confusion is whether a timestamp is in seconds (10 digits) or milliseconds (13 digits). The rule: if the value exceeds 10¹² it is almost certainly milliseconds.
Used by PHP time(), Python time.time(), Unix shell date +%s, and most SQL databases. Example: 1710508200
1710508200
Used by JavaScript Date.now(), Java System.currentTimeMillis(), Node.js, and most browser APIs. Example: 1710508200000
1710508200000
Common Timestamp Use Cases
Why developers prefer Unix timestamps over human-readable date strings:
JSON Web Tokens use Unix timestamps in seconds for the "issued at" (iat) and "expiration" (exp) claims. Timezone-independent and trivially comparable.
An integer timestamp column sorts faster than a datetime string and is timezone-neutral, eliminating ambiguity when records come from multiple geographic locations.
Server logs, distributed tracing (OpenTelemetry), and analytics pipelines use millisecond timestamps to correlate events across services with sub-second precision.
Cache systems (Redis, Varnish, CDNs) and API responses use Unix timestamps for Cache-Control max-age, created_at, and updated_at fields.
What Happens on 19 January 2038?
At 03:14:07 UTC on 19 January 2038 the Unix timestamp will exceed the maximum value a signed 32-bit integer can hold (2,147,483,647). Systems that still store time in 32 bits will overflow and wrap around to a negative number, interpreting the date as December 1901. Before then, applications must migrate to 64-bit timestamps — which push the limit roughly 292 billion years into the future.