Skip to main content

parse_excel_date_text

Function parse_excel_date_text 

Source
pub fn parse_excel_date_text(input: &str) -> Option<NaiveDate>
Expand description

Parse date text using Formualizer’s deterministic en-US spreadsheet convention.

Numeric slash dates use month/day/year ordering. Two-digit years in slash and English month-name forms use Excel’s fixed window: 00..=29 means 2000 through 2029 and 30..=99 means 1930 through 1999. ISO dates require a four-digit year. Parsing has no locale parameter and never consults the host locale.