Syntax
Parameters
-
dt: the DATE or DATETIME value to convert. -
from_tz: the source time zone. VARCHAR is supported. The time zone can be represented in two formats: one is Time Zone Database (for example, Asia/Shanghai) and the other is UTC offset (for example, +08:00). -
to_tz: the destination time zone. VARCHAR is supported. Its format is the same asfrom_tz.