UTC Offset
Type Registry
UTC Offset
datetime.offset.utc Explicit UTC offset string (e.g., "UTC +05:00"). Used in configuration files and human-readable timezone displays.
Domain datetime›offset
Casts to VARCHAR
Scope Universal
Try it
CLI
$ finetype infer -i "UTC +05:00"
→ datetime.offset.utc DuckDB
Detect
SELECT finetype('UTC +05:00');
-- → 'datetime.offset.utc' Cast expression
{col} Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'datetime.offset.utc'; JSON Schema
finetype schema datetime.offset.utc {
"$id": "https://noon.sh/schemas/datetime.offset.utc",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Explicit UTC offset string (e.g., \"UTC +05: 00\"). Used in configuration files and human-readable timezone displays.",
"examples": [
"UTC +05: 00",
"UTC -08: 00",
"UTC +00: 00"
],
"pattern": "^UTC [+-]\\d{2}:\\d{2}$",
"title": "UTC Offset",
"type": "string"
} Examples
UTC +05:00UTC -08:00UTC +00:00 Also known as
gmt_offset