Unix Timestamp & Epoch Converter
Convert epoch seconds, milliseconds, and ISO dates instantaneously. Ticking current time, timezone inspection, and relative offsets. 100% in-browser.
Epoch & Unix Time Cheatsheet in Common Languages
Math.floor(Date.now() / 1000); // seconds
Date.now(); // milliseconds import time
time.time() # seconds (float)
int(time.time()) # integer seconds import "time"
time.Now().Unix() // seconds
time.Now().UnixMilli() // milliseconds EXTRACT(EPOCH FROM NOW()); -- Postgres
strftime('%s', 'now'); -- SQLite About This Tool
Paste a Unix timestamp in seconds, milliseconds, microseconds, or nanoseconds: or an ISO 8601 date: and it is converted to every common representation at once: UTC ISO 8601, RFC 2822/GMT, local browser time, day of year, ISO week number, and leap-year status. Digit count decides how the raw number is read, so no unit dropdown is needed.
It converts points in time, not recurring schedules. For parsing a crontab expression into its next run times, use Cron Expression Parser instead.
Key Features
- Auto-detected input units: 11 digits or fewer read as seconds, 12 to 14 as milliseconds, 15 to 17 as microseconds, beyond that as nanoseconds.
- Live ticking epoch clock: Updates every 250ms from Date.now(), with a Pause button to freeze it before copying.
- Date picker sync: Pick a date/time directly and every output field, including the timestamp input, updates together.
- Quick offset buttons: +1 Hour, +1 Day, +1 Week, and -1 Day shift the current value and re-render all fields.
- Per-field copy buttons: Seconds, milliseconds, ISO 8601, RFC 2822, and local time each copy independently.