Epoch & Unix timestamp converter
Convert epoch time to anything readable. A precise developer-focused converter with full IANA timezone support, relative time, Y2038 detection, and shareable URLs. All conversions happen in your browser. Nothing is sent to a server.
That isn't a date we can read. Try 1700000000, 2026-11-14 09:30 or Nov 14 2026 9:30 PM.
Start and end of the day, week, month and year
The first and last second of each period that contains your timestamp, in the timezone you picked. Use them for range queries such as WHERE ts BETWEEN start AND end.
| Period | Start (seconds) | End (seconds) |
|---|---|---|
| Enter a timestamp above. | ||
Seconds to duration, and back
Turn a number of seconds into days, hours and minutes, or paste an ISO 8601 duration such as PT1H30M to get the seconds.
Years and months are left out on purpose: their length varies, so a fixed number of seconds can't be turned into them exactly.
Paste anything. Get everything.
The input box auto-detects what you've pasted: seconds, milliseconds, microseconds, ISO 8601, RFC 2822, or natural date strings. Output updates as you type.
Time formats developers run into.
A quick reference for the formats you'll see in databases, logs, APIs, and browser code.
Unix Time
Seconds since 1970-01-01 00:00:00 UTC. Timezone-independent integer. 10 digits for current dates. The universal format for databases, logs, and APIs.
Milliseconds
Used by Date.now() in JavaScript, System.currentTimeMillis() in Java, and many web APIs. 13 digits for current dates. Multiply seconds × 1000.
ISO 8601
Human-readable format: 2026-05-15T14:30:00Z. The Z means UTC. Used in REST APIs, structured logs, and anywhere you need date + time as text.
More timestamp tools.
Other utilities for working with epoch time, timezones, and date arithmetic.
Quick answers
Decode IDs and logs
Calendar and time zones
Work with many timestamps
Specialty formats
Common questions.
Practical answers for developers working with epoch time, time zones, and timestamp arithmetic.
1970-01-01 00:00:00 UTC. The convention stuck and became standard across every major operating system and programming language.2,147,483,647, which corresponds to 2038-01-19 03:14:07 UTC. After that second, systems still using 32-bit time overflow to a negative value, jumping back to 1901. Modern systems use 64-bit timestamps, which won't overflow for billions of years. Read more →JavaScript: Math.floor(Date.now() / 1000)Python: int(time.time())Bash: date +%sGo: time.Now().Unix()PHP: time()Rust: SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_secs()
Intl API. Nothing is logged, transmitted, or stored. Refresh the page and your input is gone (unless it's in the URL, which is by your choice).America/New_York account for daylight saving time changes automatically. A fixed offset like UTC-5 doesn't. It's wrong for half the year in regions that observe DST. Use IANA names whenever you can.Last updated: