Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Convertion of time with NEW_TIME

Convertion of time with NEW_TIME

From: Luc Demanche <lucdemanche_at_gmail.com>
Date: Tue, 11 Jan 2005 11:27:23 -0500
Message-ID: <4b36877205011108276819b6ed@mail.gmail.com>


Hi gurus,

I need to convert the local time to GMT, I want to use the NEW_TIME function, but I need the abbreviation for the current timezone (EST).

I was looking with SESSIONTIMEZONE from dual, but it gives me the offset, not the timezone abbreviation. The code may be distributed across time zones so I must find a dynamic solution.

Because we still are with Oracle8i, I can't use TIMESTAMP datatype ...

Can you help me either a) get the abbreviated time zone region name, or b) tell me another way of converting any DATE to GMT?

Thanks.

-- 
Luc Demanche
Oracle DBA
(514) 867-9977
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jan 11 2005 - 10:24:52 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US