Skip to main content

date-time-extractor

A date and time extractor scans free-form text and pulls out every date and time expression it recognises β€” "Jan 5, 2024", "5/1/24", "2024-01-05", "next Tuesday", "2 hours ago" β€” normalising them to ISO 8601 (2024-01-05T00:00:00) for downstream sorting, filtering, or programmatic use. The ZTools Date & Time Extractor runs entirely in the browser, supports common locales (US MM/DD vs UK/EU DD/MM), relative dates ("yesterday", "last Friday"), partial dates ("January 2024"), and outputs both raw match + ISO normalised form.

Use cases​

Email / chat archive timeline​

Paste a long email thread with embedded dates. Extractor surfaces every date mentioned, useful for reconstructing event timelines.

Document version tracking​

Old document mentioning multiple revision dates. Extract to chronologically order revisions.

Resume / CV date audit​

Verify date consistency across resume entries. Extractor surfaces every "Jan 2020 – Mar 2022" range; spot gaps and overlaps.

Meeting-notes deadlines​

Past meeting notes contain references to "by Friday", "next month", "Q3". Extract + normalise relative to the note's date for actionable deadlines.

How it works​

  1. Paste source text β€” Free-form English (other locales available). Multi-paragraph supported.
  2. Pick locale β€” US (MM/DD), UK / EU (DD/MM), ISO (YYYY-MM-DD). Determines how ambiguous dates parse.
  3. Pick reference date β€” Anchor for relative dates. "Yesterday" parses against this reference. Default = today.
  4. Apply parsers β€” Multiple parsers: explicit dates, relative dates, partial dates, time-only expressions. Best match wins per text fragment.
  5. Normalise + export β€” ISO 8601 output. CSV with raw match + parsed value + confidence column.

Examples​

Input: "Meeting on Jan 5, 2024 at 3pm UK time"

Output: 2024-01-05T15:00:00 (Europe/London).


Input: "The deadline is next Friday"

Output: If reference = 2026-05-05 Tuesday β†’ 2026-05-15 (next Friday in 10 days)


Input: Mixed locales: "5/1/24 in US format vs 1/5/24 in UK format"

Output: Both parse to 2024-05-01 vs 2024-01-05 depending on locale toggle.

Frequently asked questions​

How does it handle ambiguous dates?

Defers to the locale you select. "5/1/24" = May 1 (US) or Jan 5 (UK / EU). When mixed, run twice with different locales and compare.

What about timezones?

If the text specifies a TZ ("3pm EST", "15:00 UTC"), extractor preserves it. Otherwise, output is naive (no TZ) and you supply context.

Can it parse "two weeks ago"?

Yes β€” relative phrases parse against your reference date. "2 weeks ago" from 2026-05-05 β†’ 2026-04-21.

Are partial dates extracted?

Yes β€” "January 2024" β†’ 2024-01-01 (1st of the month) with low confidence flag. Use confidence column to filter for full dates only.

Is the input uploaded?

No β€” client-side only.

What languages are supported?

Primary: English. Optional locales: French, German, Spanish, Italian. Date words ("janvier", "lundi") parse in those locales.

Tips​

  • Always set the locale before extracting β€” wrong locale silently produces wrong dates for ambiguous formats.
  • Use the reference date when extracting from old documents β€” relative phrases need the right anchor.
  • For audit work, keep the raw match alongside the parsed ISO value β€” preserves source intent.
  • Filter by confidence: high-confidence matches first; low-confidence (partial dates) flagged for manual review.
  • Combine with the date-calculator tool for downstream date-arithmetic on extracted timestamps.

Try it now​

The full date-time-extractor runs in your browser at https://ztools.zaions.com/date-time-extractor β€” no signup, no upload, no data leaves your device.

Open the tool β†—


Last updated: 2026-05-05 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub