datetime.date.ymd_dotYear.Month.Day with dot separators. Unambiguous due to year-first ordering. Hungarian, Norwegian, and some East Asian administrative data.
$ finetype infer -i "2024.01.15"
→ datetime.date.ymd_dotSELECT finetype('2024.01.15');
-- → 'datetime.date.ymd_dot'strptime({col}, '%Y.%m.%d')::DATE
-- Format: %Y.%m.%d-- 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.ymd_dot';{
"$id": "https://meridian.online/schemas/datetime.date.ymd_dot",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Year.Month.Day with dot separators. Unambiguous due to year-first ordering. Hungarian, Norwegian, and some East Asian administrative data.",
"examples": [
"2024.01.15",
"2023.12.31",
"2000.06.01"
],
"maxLength": 10,
"minLength": 10,
"pattern": "^\\d{4}\\.\\d{2}\\.\\d{2}$",
"title": "YMD Date (dot-separated)",
"type": "string",
"x-finetype-broad-type": "DATE",
"x-finetype-format-string": "%Y.%m.%d",
"x-finetype-transform": "strptime({col}, '%Y.%m.%d')::DATE"
}2024.01.152023.12.312000.06.01