Unix Timestamp Converter
Convert Unix epoch timestamps (10-digit seconds or 13-digit ms) to UTC, US Eastern, US Pacific, and local dates free in your browser with live clock.
------------------JavaScript: Math.floor(Date.now() / 1000) Python: int(time.time()) Go: time.Now().Unix() Bash: date +%s PostgreSQL: SELECT EXTRACT(EPOCH FROM NOW())::BIGINT;
Convert Unix epoch timestamps to human-readable UTC, US Eastern, US Pacific, and local dates—or turn any calendar date back into 10-digit seconds and 13-digit milliseconds—in real time. Everything executes locally in your browser with zero API round trips.
Seconds vs. Milliseconds: Quick Detection Guide
Different runtimes default to different epoch precisions, which is the #1 cause of broken date formatting during API debugging:
| Precision | Digit Count (Current Era) | Example | Common Languages & Systems |
|---|---|---|---|
| Seconds (s) | 10 digits | 1764000000 |
Linux date +%s, Python time.time(), PHP time(), Go Unix(), JWT exp |
| Milliseconds (ms) | 13 digits | 1764000000000 |
JavaScript Date.now(), Java currentTimeMillis(), MongoDB, JSON APIs |
| Microseconds (µs) | 16 digits | 1764000000000000 |
Distributed tracing spans, BigQuery, high-frequency telemetry |
If a frontend passes a 10-digit second timestamp directly into JavaScript's new Date(ts) without multiplying by 1000, the UI renders a date in January 1970. Passing a 13-digit millisecond value to a backend expecting seconds produces a year beyond 56,000 AD.
How to Convert Unix Timestamps in 3 Steps
- Inspect Live Epoch Time: Copy the live 10-digit or 13-digit counter at the top, or click Pause to freeze the clock while copying values into a test payload.
- Convert Epoch to Date: Paste any numeric timestamp into the left panel. The converter auto-detects the unit and displays UTC, Local time, US Eastern (ET), US Pacific (PT), ISO 8601, and relative time simultaneously.
- Convert Date to Epoch: Type a
YYYY-MM-DD HH:mm:ssdate into the right panel, pick the source timezone, and copy the resulting seconds or milliseconds.
Three Common Timestamp Bugs in Production
- Safari
NaNDate Parsing: Passing space-separated SQL timestamps like"2026-11-24 14:30:00"tonew Date()works in Chrome but returnsInvalid Datein Safari. Always serialize dates as ISO 8601 (2026-11-24T14:30:00Z) or numeric milliseconds. - Daylight Saving Time (DST) Gaps: Storing local wall-clock strings without an offset causes ambiguous timestamps during fall-back hours in US Eastern and Pacific timezones. Always persist UTC or Unix epoch integers and format to local time only at the display layer.
- 32-Bit Signed Overflow (Y2038): MySQL
TIMESTAMPcolumns historically capped out at2038-01-19 03:14:07 UTC. For long-term expirations, subscriptions, or certificates, store 64-bitBIGINTmilliseconds or useDATETIME/TIMESTAMPTZ.
Notable Unix Epoch Milestones
| Milestone | UTC Date & Time | 10-Digit Seconds |
|---|---|---|
| Unix Epoch Start | 1970-01-01 00:00:00 UTC | 0 |
| 1 Billion Seconds | 2001-09-09 01:46:40 UTC | 1000000000 |
| 1.7 Billion Seconds | 2023-11-14 22:13:20 UTC | 1700000000 |
| 32-Bit Signed Limit (Y2038) | 2038-01-19 03:14:07 UTC | 2147483647 |
Browse all browser-native utilities in our Free Online Tools directory, sample exact brand colors with our Color Picker from Image, or build website icon bundles with our Free Favicon Generator .