Parse a human-written date (200 locales + Hijri)
parse_dateTurn a date written in natural language or local numeric formats into an ISO date/datetime: '3 mars 2026', '12.11.2026', 'next month', 'غداً', 'in 3 weeks', and Hijri dates such as '15 رمضان 1447' or '1 Muharram 1448' (converted by Umm al-Qura). Returns precision (day/month/year/time), the detected language and the relative base used. Pass languages and date_order when known. Example: text '١٥ رمضان ١٤٤٧'. Response: result plus data_confidence, estimated_items[], sources[], data_version, warnings[]; deterministic (no AI inside), nothing logged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | A date as humans write it: '3 mars 2026', '12/11/2026', 'غداً', 'in 3 weeks', '15 رمضان 1447', '2026-11-12T10:00'. | |
| timezone | No | IANA zone for the result, e.g. 'Asia/Dubai'. | |
| languages | No | Language codes to try, e.g. ['en','ar','fr']. Strongly recommended for speed and accuracy. | |
| date_order | No | Order for ambiguous numeric dates. Pass it whenever you know the source country. | |
| prefer_future | No | Resolve ambiguous relative dates forward (deadlines) rather than backward. | |
| relative_base | No | ISO datetime that relative phrases ('tomorrow', 'in 3 days') count from. Default: now. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||