to_utc_timestamp
function
Applies to: Databricks SQL Databricks Runtime
Returns the timestamp in expr
in a different timezone as UTC.
For a list of valid timezones, see List of tz database time zones.
CLUSTER BY
clause (TABLE)mask
clauseROW FILTER
clauseAtualizado 04/11/2024
to_utc_timestamp
functionto_utc_timestamp
function Applies to: Databricks SQL Databricks Runtime
Returns the timestamp in expr
in a different timezone as UTC.
For a list of valid timezones, see List of tz database time zones.
> SELECT to_utc_timestamp('2016-08-31', 'Asia/Seoul');
2016-08-30 15:00:00
> SELECT to_utc_timestamp( '2017-07-14 02:40:00.0', 'GMT+1');
2017-07-14 01:40:00.0