Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 08 Dec 2011 @ 15:37:06 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


Subj:   Re: Timestamp conversion to GMT
 
From:   Anomy Anom

<-- Anonymously Posted: Thursday, December 08, 2011 10:11 -->

Hi

You could try a variant of:

     SELECT

     CAST(('2011-12-06?17:13:08' || '-08:00') AS TIMESTAMP(0) WITH TIME ZONE) tz
     , CAST(tz AS TIMESTAMP(0)) convert

     tz                                    convert
     2011-12-06 17:13:08-08:00?2011-12-07 01:13:08

Good luck!



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023