MeridianMERIDIAN

24-Hour Time (HH:MM:SS)

Standard 24-hour time without fractional seconds. The most common time representation in data systems.

24-Hour Time (HH:MM:SS)

datetime.time.hms_24h

Standard 24-hour time without fractional seconds. The most common time representation in data systems.

Domain
datetime
Category
time
Casts to
TIME
Scope
Universal

Try it

CLI
$ finetype infer -i "10:30:00" --mode column
→ datetime.time.hms_24h

DuckDB

Detect
SELECT ft_infer('10:30:00');
-- → 'datetime.time.hms_24h'
Cast expression
strptime({col}, '%H:%M:%S')::TIME
-- Format: %H:%M:%S
Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(ft_cast(my_column) AS TIME) AS clean_value
FROM my_table
WHERE ft_infer(my_column) = 'datetime.time.hms_24h';

JSON Schema

finetype taxonomy datetime.time.hms_24h -o json-schema
{
  "$id": "https://meridian.online/schemas/datetime.time.hms_24h",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Standard 24-hour time without fractional seconds. The most common time representation in data systems.",
  "examples": [
    "10: 30: 00",
    "23: 59: 59",
    "00: 00: 00"
  ],
  "maxLength": 8,
  "minLength": 8,
  "pattern": "^\\d{2}:\\d{2}:\\d{2}$",
  "title": "24-Hour Time (HH:MM:SS)",
  "type": "string",
  "x-finetype-label": "datetime.time.hms_24h",
  "x-finetype-pii": false
}

Examples

10:30:0023:59:5900:00:00

Aliases

formatted_time

Type Registry