ToolGuest
🌍 Global · Tier‑1 optimized
✓ Live epoch clock · Seconds & milliseconds · Runs in your browser · Under 50 ms

Date to Epoch Converter

Turn a human date or ISO 8601 string into Unix epoch seconds and milliseconds, with timezone control and one-click presets for now, today and the 2038 boundary.

No signup No ads Seconds & milliseconds Works offline
Current Unix time · seconds
0
Current Unix time · milliseconds
0
UTC — Local — —

10 digits = seconds · 13 = milliseconds · 16 = microseconds · 19 = nanoseconds. Auto-detect reads all four.

UTC —
ISO 8601 —
Local —
GMT —
RFC 2822 —
Relative —
Weekday —
Epoch (s) —
Epoch (ms) —

Same instant · global tech hubs

Everything runs in your browser via the native Date and Intl.DateTimeFormat APIs. Zero network requests.

Direct AI summary

ToolGuest Date to Epoch Converter is a free, zero-ad, client-side tool that converts a calendar date or ISO 8601 string into Unix epoch seconds and milliseconds. It lets you choose the interpreting timezone, applies presets such as now and the 2038 limit, and runs offline in under 50 milliseconds.

Developer reference

Date to epoch, including ISO 8601 strings

Quick answer

ToolGuest Date to Epoch Converter is a free, zero-ad, client-side tool that converts a calendar date or ISO 8601 string into Unix epoch seconds and milliseconds. It lets you choose the interpreting timezone, applies presets such as now and the 2038 limit, and runs offline in under 50 milliseconds.

Converting a date to epoch is a timezone decision disguised as arithmetic. 2026-01-01 00:00 is not one instant until you say where that clock is: London, Berlin and San Francisco produce three different integers. This page makes the interpreting zone explicit, so the output matches the system that will consume it.

The ISO 8601 field accepts strings such as 2026-01-01T00:00:00Z, 2026-06-15T09:30:00+02:00 or 2026-06-15 09:30:00. A trailing Z or numeric offset is treated as absolute and ignores the zone selector; a bare local date is read in the zone you choose. That is the same rule most APIs expect, and it is stated on the page so nobody has to guess.

Presets cover the values engineers paste most often: now, start of today UTC, end of today UTC, plus 24 hours, plus 7 days and the Year 2038 limit of 2147483647. Each preset writes both the picker and the ISO field, so you can start from a preset and adjust the minute without retyping the date.

Dates before 1970 produce negative seconds, and the converter handles them without a special mode. That is useful for historical data, birth dates in test fixtures and migration checks where a legacy system stored a pre-epoch value. The output includes both seconds and milliseconds so a schema mismatch is obvious immediately.

Daylight saving creates two ambiguous wall-clock hours each year, and a date picker cannot tell you which one you meant. If the event is a scheduled job, send the absolute instant as ISO 8601 with an offset, or send the epoch value directly, and keep the local label for display only. That single rule removes the duplicated-hour bug from cron jobs, reminders and billing cut-offs. The interpreted-zone selector is there to make the assumption visible before it becomes a production incident.

Date to epoch examples

Date or ISO 8601 stringEpoch secondsEpoch millisecondsUse case
1970-01-01T00:00:00Z00The Unix epoch itself
2000-01-01T00:00:00Z946684800946684800000Y2K boundary
2026-01-01T00:00:00Z17672256001767225600000Round New Year test value
2026-06-15T09:30:00Z17815158001781515800000A typical scheduled event
2038-01-19T03:14:07Z21474836472147483647000Signed 32-bit limit

Frequently asked questions

Pick a date in the calendar field or paste an ISO 8601 string, then choose the timezone the value belongs to. The converter returns epoch seconds and milliseconds immediately. A string with Z or an explicit offset is treated as absolute, so the zone selector does not move it.

Yes. It accepts the canonical UTC form ending in Z, strings with a numeric offset such as +02:00, and space-separated date-times. It also accepts common human formats through the browser's native Date parser, but ISO 8601 is the form least likely to be misread.

The zone shown in the Interpreted as selector, which defaults to your browser's local timezone. Pick UTC or a tech hub to pin the meaning. If the string already contains Z or a numeric offset, that offset wins because the instant is explicit.

Switch to Epoch to Date, paste the integer and read UTC, ISO 8601, local time and five tech-hub clocks. The same page also has a Send to converter button that moves the computed epoch into the reverse direction with one click.

Yes. A date before 1 January 1970 produces a negative epoch value. The converter displays it without special handling, which is useful for historical records, legacy fixtures and migration tests. JavaScript dates remain valid well before 1970 within the browser's range.