|
|
Archives of the TeradataForum
Message Posted: Thu, 21 Dec 2006 @ 19:49:45 GMT
Subj: | | Re: Converting TIMESTAMP From GMT to EST |
|
From: | | Dieter Noeth |
PriceJ wrote:
| I have a user who wants to display a TIMESTAMP as EST vs. GMT. What is the best way to do this? | |
SELECT
CURRENT_TIMESTAMP(0) AS CET,
CET AT TIME ZONE INTERVAL -'05:00' HOUR TO MINUTE AS EST;
*** Query completed. One row found. 2 columns returned.
*** Total elapsed time was 1 second.
CET EST
------------------------- -------------------------
2006-12-21 20:42:14+01:00 2006-12-21 14:42:14-05:00
Dieter
| |