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.
10 digits = seconds · 13 = milliseconds · 16 = microseconds · 19 = nanoseconds. Auto-detect reads all four.
Same instant · global tech hubs
Type a date, paste an ISO string or pick a preset — the epoch appears the moment the value is valid. Strings with a Z or ±offset are absolute; a bare local date is read in the zone above.
| Input | Detected | UTC | ISO 8601 | Epoch (s) |
|---|---|---|---|---|
| Paste a list above, then hit Convert all. | ||||
Everything runs in your browser via the native Date and Intl.DateTimeFormat APIs. Zero network requests.
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.
Date to epoch, including ISO 8601 strings
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 string | Epoch seconds | Epoch milliseconds | Use case |
|---|---|---|---|
| 1970-01-01T00:00:00Z | 0 | 0 | The Unix epoch itself |
| 2000-01-01T00:00:00Z | 946684800 | 946684800000 | Y2K boundary |
| 2026-01-01T00:00:00Z | 1767225600 | 1767225600000 | Round New Year test value |
| 2026-06-15T09:30:00Z | 1781515800 | 1781515800000 | A typical scheduled event |
| 2038-01-19T03:14:07Z | 2147483647 | 2147483647000 | Signed 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.
All Epoch & Timestamp Developer Tools
Every page below runs the same client-side engine. Pick the entry point that matches the job; the full converter stays available on each page.
Related developer tools: JSON Formatter · Base64 Encoder · Hash Generator