datetime.date.dmy_space_abbrevDay Month-Abbr Year with space separators. Unambiguous due to named month. RFC 2822 date portion, military/NATO records, PostgreSQL to_char.
$ finetype infer -i "15 Jan 2024"
→ datetime.date.dmy_space_abbrevSELECT finetype('15 Jan 2024');
-- → 'datetime.date.dmy_space_abbrev'strptime({col}, '%d %b %Y')::DATE
-- Format: %d %b %Y-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS DATE) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'datetime.date.dmy_space_abbrev';{
"$id": "https://meridian.online/schemas/datetime.date.dmy_space_abbrev",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Day Month-Abbr Year with space separators. Unambiguous due to named month. RFC 2822 date portion, military/NATO records, PostgreSQL to_char.",
"examples": [
"15 Jan 2024",
"31 Dec 2023",
"1 Jun 2000"
],
"maxLength": 11,
"minLength": 10,
"pattern": "^[0-3]?\\d [A-Z][a-z]{2} \\d{4}$",
"title": "DMY Date with Abbreviated Month (space-separated)",
"type": "string",
"x-finetype-broad-type": "DATE",
"x-finetype-format-string": "%d %b %Y",
"x-finetype-transform": "strptime({col}, '%d %b %Y')::DATE"
}15 Jan 202431 Dec 20231 Jun 2000