Skip to content

European Date (dot-separated)

Type Registry

European Date (dot-separated)

datetime.date.eu_dot

Day.Month.Year with dot separators. Common in Germany, Austria, Switzerland, and Eastern European countries.

Domain datetimedate
Casts to DATE
Scope Universal

Try it

CLI
$ finetype infer -i "15.01.2024"
→ datetime.date.eu_dot

DuckDB

Detect
SELECT finetype('15.01.2024');
-- → 'datetime.date.eu_dot'
Cast expression
strptime({col}, '%d.%m.%Y')::DATE
Format: %d.%m.%Y
Safe cast pipeline
-- 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.eu_dot';

JSON Schema

finetype schema datetime.date.eu_dot
{
  "$id": "https://noon.sh/schemas/datetime.date.eu_dot",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Day.Month.Year with dot separators. Common in Germany, Austria, Switzerland, and Eastern European countries.",
  "examples": [
    "15.01.2024",
    "31.12.2019"
  ],
  "maxLength": 10,
  "minLength": 10,
  "pattern": "^\\d{2}\\.\\d{2}\\.\\d{4}$",
  "title": "European Date (dot-separated)",
  "type": "string"
}

Examples

15.01.202431.12.2019

Types in datetime