GetTimeZoneDisplacement Function | Teradata Vantage - GetTimeZoneDisplacement - Advanced SQL Engine - Teradata Database

SQL Date and Time Functions and Expressions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
xmd1556127764262.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1211
lifecycle
previous
Product Category
Teradata Vantageā„¢

Returns the rules and time zone displacement information for a specified time zone string.

Syntax

GetTimeZoneDisplacement ( time_zone_string )
time_zone_string

A valid time zone string specified using a VARBYTE data type. For a list of time zone strings supported by Teradata, see AT LOCAL and AT TIME ZONE Time Zone Specifiers.

If time_zone_string is not valid or unsupported, GetTimeZoneDisplacement returns a value of 1 in the first byte to indicate that the time zone string does not exist.