Unix Timestamp Converter & Epoch Counter

Unix timestamp tools: live epoch time, timestamp ↔ date conversion in any IANA timezone with DST gap/overlap detection, batch conversion, period start/end, and duration breakdown. Click any value to copy it.

Current Unix epoch time
{{nowSec}}
Seconds {{nowSec}}
Milliseconds {{nowMs}}
Microseconds (ms precision) {{nowMs}}000
Nanoseconds (ms precision) {{nowMs}}000000
Timestamp → readable date
detected: {{ts.unit}}

Not a valid timestamp

Date → timestamp

Input format: ISO 8601, RFC 2822, Y-M-D, D-M-Y, M/D/Y. Add "GMT"/"Z" to parse as UTC.

{{ parsed.reason || 'Could not parse this date' }}

Or build from fields
Timestamp {{fields.sec}} {{ fields.reason || 'Invalid date fields' }}

⚠ This wall-clock time is ambiguous in {{fZone}} — it happens twice, once before and once after a DST clock fall-back. Earliest used ({{fields.sec}}); the later instant is {{fields.candidates[1]}}.

Epoch dates for the start and end of the year / month / day
Show start & end of

{{ per.reason || 'Invalid period fields' }}

Convert seconds to days, hours and minutes
→ {{dur}}
Batch converttimestamps or dates, one per line

Paste a mix of timestamps and dates, one per line — each line is converted the other way (timestamp → date, date → timestamp) using the same parsing as the cards above. Zone below applies to bare timestamps and to date strings with no explicit zone marker.

{{batchRows.length}} row{{batchRows.length===1?'':'s'}}

⚠ Only the first {{BATCH_MAX}} non-blank lines are converted.

{{r.input}} {{r.error || r.output}}
{{r.detail}}
What is the Unix epoch?

Unix time (also epoch time or POSIX time) is the number of seconds elapsed since January 1, 1970, 00:00:00 UTC, not counting leap seconds. The epoch itself is Unix time 0, but "epoch" is commonly used as a synonym for Unix time in general.

Timestamps come in different resolutions: seconds (10 digits today), milliseconds (13), microseconds (16) and nanoseconds (19). This page auto-detects the unit by digit count, or you can force a specific unit — useful for a short value that's really milliseconds, or vice versa.

Systems that store Unix time as a signed 32-bit integer overflow on January 19, 2038 — the Year 2038 problem. Modern 64-bit time values do not have this limitation.

Converting a wall-clock date/time to a timestamp in a specific timezone isn't always one-to-one: when clocks spring forward for daylight saving, an hour of wall-clock times (e.g. 2:00–2:59 AM) never happens at all — a DST gap; when they fall back, an hour happens twice — a DST overlap, ambiguous without more information. Both the fields and batch converters on this page detect and disclose these cases rather than silently picking an answer.

Human-readable timeSeconds
1 hour3,600
1 day86,400
1 week604,800
1 month (~30.44 days)2,629,743
1 year (365.25 days)31,557,600

All conversions run locally in your browser. Nothing you enter is sent anywhere.

{{s[0]}}
{{s[1]}} {{s[2]}}