Getting started
User guides
Administration guides
Reference guides
Resources
Updated Aug 12, 2022
Send us feedback
from_utc_timestamp
Returns a timestamp in expr specified in UTC in the timezone timeZone.
expr
timeZone
from_utc_timestamp(expr, timeZone)
expr : A TIMESTAMP expression with a UTC timestamp.
timeZone: A STRING expression that is a valid timezone.
A TIMESTAMP.
> SELECT from_utc_timestamp('2016-08-31', 'Asia/Seoul'); 2016-08-31 09:00:00 > SELECT from_utc_timestamp('2017-07-14 02:40:00.0', 'GMT+1'); '2017-07-14 03:40:00.0'
to_utc_timestamp function