from_unixtime
function
Applies to: Databricks SQL Databricks Runtime
Returns unixTime
in fmt
.
Arguments
unixTime
: A BIGINT expression representing seconds elapsed since 1969-12-31 at 16:00:00.fmt: An optional STRING expression with a valid format.
Returns
A STRING.
See Datetime patterns for valid formats. The ‘yyyy-MM-dd HH:mm:ss’ pattern is used if omitted.