Epoch Counter

Unix timestamp tools: live epoch time, timestamp ↔ date conversion with unit auto-detection, 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.

Could not parse this date

Or build from fields
Timestamp {{fields.sec}} Invalid date fields
Epoch dates for the start and end of the year / month / day
Show start & end of

Invalid period fields

Convert seconds to days, hours and minutes
→ {{dur}}
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.

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.

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]}}