Unix Timestamp Converter
Convert between Unix epoch timestamps and human-readable dates.
Timestamp → Date
Date → Timestamp
Or paste an ISO 8601 / RFC 2822 date below:
- Unix (seconds)
- —
- Unix (milliseconds)
- —
- ISO 8601 (UTC)
- —
- RFC 2822
- —
- Local time
- —
- Day of week
- —
- Relative
- —
What is a Unix Timestamp?
A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since
00:00:00 UTC on January 1, 1970 — a moment called "the epoch". Because it's a single integer that's timezone-independent and easy to compare,
it's the lingua franca of computer timekeeping: file modification times, database columns, JWT iat/exp claims,
and HTTP Date headers all trace back to it.
What this tool does
- Show the current Unix timestamp, ticking live every second.
- Convert a timestamp into ISO 8601, RFC 2822, local time, and relative time ("3 hours ago").
- Convert a human date back into a timestamp.
- Switch between seconds (the Unix standard) and milliseconds (the JavaScript / Java standard).
Seconds vs milliseconds
Languages disagree. Python, Go, Rust, and most Unix tools use seconds. JavaScript (Date.now()) and Java (System.currentTimeMillis)
use milliseconds. Rule of thumb: 10-digit values are seconds; 13-digit values are milliseconds. The toggle above handles both.