Convert Unix timestamps to readable dates or dates back to Unix timestamps. Supports seconds and milliseconds — shows the live current timestamp updated every second.
0
Updates every second · Seconds since Jan 1, 1970 UTC
Interpreted in your local timezone
The Unix epoch timestamp represents the total number of elapsed seconds since Thursday, 1 January 1970 00:00:00 UTC, not counting leap seconds. This integer-based time representation is universally employed in operating systems, relational databases, cache TTLs, and distributed cloud microservices.
| Precision Unit | Digits (Current Era) | Typical Value Example | Common Platform / Environment |
|---|---|---|---|
| Seconds | 10 digits | 1789929600 | Unix shell, Python time.time(), MySQL UNIX_TIMESTAMP() |
| Milliseconds | 13 digits | 1789929600000 | JavaScript Date.now(), Java System.currentTimeMillis() |
| Microseconds | 16 digits | 1789929600000000 | High-frequency trading, Linux kernel event tracing |
| Nanoseconds | 19 digits | 1789929600000000000 | Go time.Now().UnixNano(), Rust SystemTime |
On 19 January 2038 at 03:14:07 UTC, 32-bit signed integers will reach their maximum positive value ($2^{31} - 1 = 2,147,483,647$). Upon the subsequent second, the integer overflows to $-2,147,483,648$, wrapping the recorded date back to 13 December 1901. Modern operating systems and database architectures have mitigated this by transitioning to 64-bit timestamps, which remain safe for approximately 292 billion years.
JavaScript
// Get current timestamp in seconds and milliseconds
const epochSeconds = Math.floor(Date.now() / 1000);
const epochMilliseconds = Date.now();
// Convert timestamp to human-readable ISO string
const dateFromSeconds = new Date(epochSeconds * 1000).toISOString();
console.log(dateFromSeconds);
Python
import time
from datetime import datetime, timezone
# Current timestamp in seconds
ts = int(time.time())
# Format to UTC ISO date
readable = datetime.fromtimestamp(ts, tz=timezone.utc).isoformat()
print(f"Timestamp: {ts} -> {readable}")
performance.now()).This website and utility are provided for general informational, calculation, and educational purposes only. Always verify critical computation outputs prior to professional deployment or financial use. See our Terms of Service and Privacy Policy for full governance details.