Unix Timestamp (seconds)
Seconds since 1970-01-01 00:00:00 UTC. The standard epoch representation used in most programming languages and systems.
Unix Timestamp (seconds)
datetime.epoch.unix_secondsSeconds since 1970-01-01 00:00:00 UTC. The standard epoch representation used in most programming languages and systems.
Domain
datetime
Category
epoch
Casts to
TIMESTAMP
Scope
Universal
Try it
CLI
$ finetype infer -i "1705312200" --mode column
→ datetime.epoch.unix_secondsDuckDB
Detect
SELECT ft_infer('1705312200');
-- → 'datetime.epoch.unix_seconds'Cast expression
to_timestamp({col}::BIGINT)Safe 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.epoch.unix_seconds';JSON Schema
finetype taxonomy datetime.epoch.unix_seconds -o json-schema
{
"$id": "https://meridian.online/schemas/datetime.epoch.unix_seconds",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Seconds since 1970-01-01 00: 00: 00 UTC. The standard epoch representation used in most programming languages and systems.",
"examples": [
"1705312200",
"1577836799",
"1000000000"
],
"maxLength": 10,
"minLength": 10,
"pattern": "^\\d{10}$",
"title": "Unix Timestamp (seconds)",
"type": "string",
"x-finetype-label": "datetime.epoch.unix_seconds",
"x-finetype-pii": false
}Examples
170531220015778367991000000000Aliases
unix_timestamptimestamp