unix_millis
function
Applies to: Databricks SQL Databricks Runtime
Returns the number of milliseconds since 1970-01-01 00:00:00 UTC
.
Returns
A BIGINT.
The function truncates higher levels of precision.
Examples
> SELECT unix_millis(TIMESTAMP('1970-01-01 00:00:01Z'));
1000