datetime.timestamp.iso_space_zuluRFC 3339 variant using space instead of T separator with UTC Z indicator. SQLite datetime('now') output and some cloud service log formats.
$ finetype infer -i "2024-01-15 14:30:00Z"
→ datetime.timestamp.iso_space_zuluSELECT finetype('2024-01-15 14:30:00Z');
-- → 'datetime.timestamp.iso_space_zulu'strptime({col}, '%Y-%m-%d %H:%M:%SZ')
-- Format: %Y-%m-%d %H:%M:%SZ-- 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.iso_space_zulu';{
"$id": "https://meridian.online/schemas/datetime.timestamp.iso_space_zulu",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "RFC 3339 variant using space instead of T separator with UTC Z indicator. SQLite datetime('now') output and some cloud service log formats.",
"examples": [
"2024-01-15 14: 30: 00Z",
"2023-12-31 23: 59: 59Z",
"2024-06-01 00: 00: 00Z"
],
"maxLength": 20,
"minLength": 20,
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}Z$",
"title": "ISO with Space Separator and Z",
"type": "string",
"x-finetype-broad-type": "TIMESTAMP",
"x-finetype-format-string": "%Y-%m-%d %H:%M:%SZ",
"x-finetype-transform": "strptime({col}, '%Y-%m-%d %H:%M:%SZ')"
}2024-01-15 14:30:00Z2023-12-31 23:59:59Z2024-06-01 00:00:00Z