DMY Hour-Minute Datetime
Day/Month/Year datetime with 24-hour clock. Day-first ordering (DD/MM/YYYY). Used across the EU and many Commonwealth countries.
DMY Hour-Minute Datetime
datetime.timestamp.dmy_hmDay/Month/Year datetime with 24-hour clock. Day-first ordering (DD/MM/YYYY). Used across the EU and many Commonwealth countries.
Domain
datetime
Category
timestamp
Casts to
TIMESTAMP
Scope
Universal
Try it
CLI
$ finetype infer -i "15/01/2024 10:30"
→ datetime.timestamp.dmy_hmDuckDB
Detect
SELECT finetype('15/01/2024 10:30');
-- → 'datetime.timestamp.dmy_hm'Cast expression
strptime({col}, '%d/%m/%Y %H:%M')
-- Format: %d/%m/%Y %H:%MSafe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS TIMESTAMP) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'datetime.timestamp.dmy_hm';JSON Schema
finetype schema datetime.timestamp.dmy_hm
{
"$id": "https://meridian.online/schemas/datetime.timestamp.dmy_hm",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Day/Month/Year datetime with 24-hour clock. Day-first ordering (DD/MM/YYYY). Used across the EU and many Commonwealth countries.",
"examples": [
"15/01/2024 10: 30",
"31/12/2019 23: 59"
],
"pattern": "^\\d{2}/\\d{2}/\\d{4} \\d{2}:\\d{2}$",
"title": "DMY Hour-Minute Datetime",
"type": "string",
"x-finetype-broad-type": "TIMESTAMP",
"x-finetype-format-string": "%d/%m/%Y %H:%M",
"x-finetype-transform": "strptime({col}, '%d/%m/%Y %H:%M')"
}Examples
15/01/2024 10:3031/12/2019 23:59Aliases
little_endian