Example: Requesting the Current Timestamp 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 timestamp at the time zone displacement based on the time zone string, 'America Pacific'. The timestamp returned is automatically adjusted to account for the start and end of daylight saving time.

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