Unix Timestamp Converter
Convert epoch timestamps to human-readable dates and back. Live clock, batch converter, timezone support, and custom format builder — all client-side.
⚡ All conversions run in your browser — nothing sent to a server
Keyboard Shortcuts
Ctrl+Enter Convert
Ctrl+C Copy UTC output
N Insert current timestamp
B Jump to Batch mode
? Toggle this panel
Live Unix Epoch Clock
0000000000
Seconds (10-digit)
—
Milliseconds (13-digit)
—
Microseconds (~16-digit)
—
⇄ Bidirectional Converter
Enter Timestamp
Unit:
Timezone:
Or pick a date:
UTC
Enter a timestamp above
Local
—
ISO 8601
—
RFC 2822
—
Relative
—
Selected Timezone
—
Live countdown:—
Enter Date & Time
Interpret as timezone:
Seconds
Enter a date above
Milliseconds
—
Microseconds
—
📋 Batch Converter
Paste Timestamps
✏ Custom Format Builder
Format String
Output for current time:
—
Available Tokens
YYYY4-digit year
YY2-digit year
MMMonth (01-12)
MMMMonth name (Jan...)
DyDay of month (01-31)
DWDay name (Mon...)
HHHours 24h (00-23)
hhHours 12h (01-12)
mmMinutes (00-59)
ssSeconds (00-59)
AAM / PM
ZUTC offset
Related Tools
Timestamps are computed client-side using your browser's local clock. Results may vary by timezone offset. This tool does not account for leap seconds.
Frequently Asked Questions
A Unix timestamp is the number of seconds elapsed since January 1, 1970, 00:00:00 UTC (the Unix epoch). It is a universal integer representation of any moment in time, independent of timezone. For example,
1700000000 is November 14, 2023, 22:13:20 UTC.A value near zero maps to January 1, 1970. Common causes: the value is in milliseconds but treated as seconds (try dividing by 1000), or the field was never set and defaulted to zero. The epoch reference point is timestamp
0.Seconds: 10 digits (e.g.
1700000000). Milliseconds: 13 digits (e.g. 1700000000000, 1000x larger). Microseconds: 16 digits. JavaScript Date.now() returns milliseconds. Python time.time() and most databases return seconds.32-bit signed integer timestamps overflow on January 19, 2038, 03:14:07 UTC (max value
2,147,483,647). After that the value wraps to a large negative number. Modern 64-bit systems are safe for hundreds of billions of years.JavaScript:
Python:
PHP:
Current timestamp — JS:
new Date(timestamp * 1000).toISOString()Python:
datetime.datetime.fromtimestamp(ts, tz=datetime.timezone.utc)PHP:
date('Y-m-d H:i:s', $timestamp)Current timestamp — JS:
Math.floor(Date.now()/1000) Python: int(time.time()) PHP: time()