SQL Minute-Precision Datetime
Space-separated date and time to minute precision, without seconds or timezone (e.g. 2024-01-15 10:30). The minute-precision sibling of sql_standard; DuckDB parses it natively as a TIMESTAMP (padding :00). Common in spreadsheet and database exports that drop the seconds field.
SQL Minute-Precision Datetime
datetime.timestamp.sql_minutesSpace-separated date and time to minute precision, without seconds or timezone (e.g. 2024-01-15 10:30). The minute-precision sibling of sql_standard; DuckDB parses it natively as a TIMESTAMP (padding :00). Common in spreadsheet and database exports that drop the seconds field.
Domain
datetime
Category
timestamp
Casts to
TIMESTAMP
Scope
Universal
Try it
CLI
$ finetype infer -i "2024-01-15 10:30" --mode column
→ datetime.timestamp.sql_minutesDuckDB
Detect
SELECT ft_infer('2024-01-15 10:30');
-- → 'datetime.timestamp.sql_minutes'Cast expression
strptime({col}, '%Y-%m-%d %H:%M')
-- Format: %Y-%m-%d %H:%MSafe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(ft_cast(my_column) AS TIMESTAMP) AS clean_value
FROM my_table
WHERE ft_infer(my_column) = 'datetime.timestamp.sql_minutes';JSON Schema
finetype taxonomy datetime.timestamp.sql_minutes -o json-schema
{
"$id": "https://meridian.online/schemas/datetime.timestamp.sql_minutes",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Space-separated date and time to minute precision, without seconds or timezone (e.g. 2024-01-15 10: 30). The minute-precision sibling of sql_standard; DuckDB parses it natively as a TIMESTAMP (padding : 00). Common in spreadsheet and database exports that drop the seconds field.",
"examples": [
"2024-01-15 10: 30",
"2019-12-31 23: 59"
],
"maxLength": 16,
"minLength": 16,
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}$",
"title": "SQL Minute-Precision Datetime",
"type": "string",
"x-finetype-label": "datetime.timestamp.sql_minutes",
"x-finetype-pii": false
}Canonical spec
https://www.iso.org/standard/76583.htmlExamples
2024-01-15 10:302019-12-31 23:59