24-Hour Time (HH:MM)
Hours and minutes only, no seconds. Common in schedules, timetables, and user-facing applications.
24-Hour Time (HH:MM)
datetime.time.hm_24hHours and minutes only, no seconds. Common in schedules, timetables, and user-facing applications.
Domain
datetime
Category
time
Casts to
TIME
Scope
Universal
Try it
CLI
$ finetype infer -i "10:30"
→ datetime.time.hm_24hDuckDB
Detect
SELECT finetype('10:30');
-- → 'datetime.time.hm_24h'Cast expression
strptime({col}, '%H:%M')::TIME
-- Format: %H:%MSafe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS TIME) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'datetime.time.hm_24h';JSON Schema
finetype schema datetime.time.hm_24h
{
"$id": "https://meridian.online/schemas/datetime.time.hm_24h",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Hours and minutes only, no seconds. Common in schedules, timetables, and user-facing applications.",
"examples": [
"10: 30",
"23: 59",
"00: 00"
],
"maxLength": 5,
"minLength": 5,
"pattern": "^\\d{2}:\\d{2}$",
"title": "24-Hour Time (HH:MM)",
"type": "string",
"x-finetype-broad-type": "TIME",
"x-finetype-format-string": "%H:%M",
"x-finetype-transform": "strptime({col}, '%H:%M')::TIME"
}Examples
10:3023:5900:00