Toolcado
Home › Tools › Developer Tools › Unix Timestamp Converter

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.

Current Unix Epoch (Seconds)--
Milliseconds (13-digit)--
Current UTC Time--
Epoch Timestamp → Human Date
UTC--
Local--
US East--
US West--
ISO 8601--
Relative--
Human Date → Epoch Timestamp
Seconds--
Millis--
Get Current Epoch in Code
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

  1. 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.
  2. 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.
  3. Convert Date to Epoch: Type a YYYY-MM-DD HH:mm:ss date into the right panel, pick the source timezone, and copy the resulting seconds or milliseconds.

Three Common Timestamp Bugs in Production

  1. Safari NaN Date Parsing: Passing space-separated SQL timestamps like "2026-11-24 14:30:00" to new Date() works in Chrome but returns Invalid Date in Safari. Always serialize dates as ISO 8601 (2026-11-24T14:30:00Z) or numeric milliseconds.
  2. 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.
  3. 32-Bit Signed Overflow (Y2038): MySQL TIMESTAMP columns historically capped out at 2038-01-19 03:14:07 UTC. For long-term expirations, subscriptions, or certificates, store 64-bit BIGINT milliseconds or use DATETIME / 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 .

Frequently Asked Questions

What is a Unix timestamp (Epoch time)?
A Unix timestamp is the number of seconds (or milliseconds) elapsed since January 1, 1970 at 00:00:00 UTC, excluding leap seconds. Because it is a single timezone-independent number, it is the standard format for APIs, logs, and databases.
How do I tell if a timestamp is in seconds or milliseconds?
Count the digits: modern timestamps in seconds have 10 digits (for example, 1764000000), while timestamps in milliseconds have 13 digits (1764000000000). This converter auto-detects seconds, milliseconds, and 16-digit microseconds automatically.
Why is my converted timestamp off by several hours?
Unix timestamps always represent an exact instant in UTC. An offset happens when a server or database renders UTC while your browser displays local time (or vice versa). Comparing the UTC, Local, US Eastern, and US Pacific rows above eliminates ambiguity immediately.
What is the Year 2038 (Y2038) problem?
Legacy 32-bit signed integers overflow at 2,147,483,647 seconds—January 19, 2038 at 03:14:07 UTC. Modern applications should store Unix timestamps in 64-bit integers (BIGINT) or timezone-aware types like PostgreSQL TIMESTAMPTZ.
Does this epoch converter send timestamps or log data to a server?
No. All date math and timezone formatting run locally inside your browser using native JavaScript Date and Intl APIs.