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

Teradata Vantage™ - SQL Date and Time Functions and Expressions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
17.05
Release Date
June 2020
Content Type
Programming Reference
Publication ID
B035-1211-170K
Language
English (United States)

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.