datetime.date.compact_dmyEight-digit date with no separators, day-first.
$ finetype infer -i "15012024"
→ datetime.date.compact_dmySELECT finetype('15012024');
-- → 'datetime.date.compact_dmy'strptime({col}, '%d%m%Y')::DATE
-- Format: %d%m%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.compact_dmy';{
"$id": "https://meridian.online/schemas/datetime.date.compact_dmy",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Eight-digit date with no separators, day-first.",
"examples": [
"15012024",
"31122019"
],
"maxLength": 8,
"minLength": 8,
"pattern": "^\\d{8}$",
"title": "Compact Date (DDMMYYYY)",
"type": "string",
"x-finetype-broad-type": "DATE",
"x-finetype-format-string": "%d%m%Y",
"x-finetype-transform": "strptime({col}, '%d%m%Y')::DATE"
}1501202431122019