15.00 - Modifying the Default Time Zone for a User - Teradata Database

Teradata Database SQL Data Definition Language Detailed Topics

Teradata Database
Release Number
Content Type
Programming Reference
Publication ID
English (United States)

Modifying the Default Time Zone for a User

When you assign a default time zone to a user, each time that user logs onto Teradata Database, their session uses the assigned time zone offset.

The valid range for a time zone offset specified as ±quotestring’ is from -12:59 to +14.00.

If you set the default time zone offset for a user by specifying a non‑GMT time zone string, Teradata Database can change the time zone automatically whenever there is a change in Daylight Saving Time. Only those time zone strings that are not defined in terms of GMT enable automatic adjustments for Daylight Saving Time. The GMT time zone strings are designed to be used for regions and time zones that do not follow Daylight Saving Time.

See “SET TIME ZONE” in SQL Data Definition Language Syntax and Examples for a comprehensive list of the valid time zone strings that you can use to set the time zone offset for a user and SQL Functions, Operators, Expressions, and Predicates for the definition of the GetTimeZoneDisplacement UDF that converts time zone values when Daylight Saving Time changes.

See Utilities: Volume 1 (A-K) for information about the DBS Control flags SystemTimeZoneHour, SystemTimeZoneMinute, and TimeDateWZControl and their control of the automatic conversion of Daylight Saving Time to standard time and back.

See Utilities: Volume 2 (L-Z) for information about the tdlocaledef utility and how it is used to specify rules for time zone strings.