Meridianmeridian

Dot YMD Timestamp (24h)

datetime.timestamp.dot_ymd_24h

Dot-separated Year.Month.Day with space and 24-hour time. Niche format found in some East Asian and Baltic systems.

Domain
datetime
Category
timestamp
Casts to
TIMESTAMP
Scope
Universal

Try it

CLI
$ finetype infer -i "2024.01.15 14:30:00"
→ datetime.timestamp.dot_ymd_24h

DuckDB

Detect
SELECT finetype('2024.01.15 14:30:00');
-- → 'datetime.timestamp.dot_ymd_24h'
Cast expression
strptime({col}, '%Y.%m.%d %H:%M:%S')
-- Format: %Y.%m.%d %H:%M:%S
Safe 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.dot_ymd_24h';

JSON Schema

finetype schema datetime.timestamp.dot_ymd_24h
{
  "$id": "https://meridian.online/schemas/datetime.timestamp.dot_ymd_24h",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Dot-separated Year.Month.Day with space and 24-hour time. Niche format found in some East Asian and Baltic systems.",
  "examples": [
    "2024.01.15 14: 30: 00",
    "2023.12.31 23: 59: 59",
    "2024.06.01 08: 15: 30"
  ],
  "maxLength": 19,
  "minLength": 19,
  "pattern": "^\\d{4}\\.\\d{2}\\.\\d{2} \\d{2}:\\d{2}:\\d{2}$",
  "title": "Dot YMD Timestamp (24h)",
  "type": "string",
  "x-finetype-broad-type": "TIMESTAMP",
  "x-finetype-format-string": "%Y.%m.%d %H:%M:%S",
  "x-finetype-transform": "strptime({col}, '%Y.%m.%d %H:%M:%S')"
}

Examples

2024.01.15 14:30:002023.12.31 23:59:592024.06.01 08:15:30