Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Updated Nov 21, 2024
Send us feedback
timestamp_seconds
Applies to: Databricks SQL Databricks Runtime
Creates timestamp expr seconds since UTC epoch.
expr
timestamp_seconds(expr)
expr: An numeric expression specifying seconds.
A TIMESTAMP.
> SELECT timestamp_seconds(1230219000); 2008-12-25 07:30:00 > SELECT timestamp_seconds(1230219000.123); 2008-12-25 07:30:00.123
timestamp function
timestamp_micros function
timestamp_millis function