Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Databricks SQL
Databricks Runtime
Returns the number of microseconds since 1970-01-01 00:00:00 UTC
.
unix_micros(expr)
expr
: A TIMESTAMP expression.
A BIGINT.
> SELECT unix_micros(TIMESTAMP('1970-01-01 00:00:01Z'));
1000000