Example: Requesting the Current Time with a Time Zone String

Teradata Vantageā„¢ SQL Functions, Expressions, and Predicates

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1145-162K

The following queries return the current time at the time zone displacement based on the time zone string, 'America Pacific'. The time returned is automatically adjusted to account for the start and end of daylight saving time.

   SELECT CURRENT_TIME AT TIME ZONE 'America Pacific';
   SELECT CURRENT_TIME AT 'America Pacific';