SWITCHOFFSET_UDF (TIMESTAMP_TZ, VARCHAR)
Definition
SWITCHOFFSET_UDF(source_timestamp TIMESTAMP_TZ, target_tz varchar)Parameters
Returns
Usage example
time_in_paris
time_in_costa_rica
Last updated
SWITCHOFFSET_UDF(source_timestamp TIMESTAMP_TZ, target_tz varchar)Last updated
SELECT SWITCHOFFSET_UDF(time_in_paris, '-0600') as time_in_costa_rica;