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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Set Time Zone

Re: Set Time Zone

From: <hemantchitale_at_charteredsemi.com>
Date: Tue, 11 Dec 2001 19:32:36 -0800
Message-ID: <F001.003DA758.20011211191518@fatcity.com>

Can't , not in 8i.
9i has introduced a TIMEZONE datatype where time can be reported offset by the UTC+/- offset.

You'd have to build the logic in your application to increment/decrement the sysdate, depending
on the user/client location (use a lookup table for location and timezone-offset) when fetching
the sysdate.
SYSDATE would always return the date on the server where the database instance is running.

Hemant

Mike T <tran.manh_at_videotron.ca> 12/12/2001 10:50 AM Sent by: root_at_fatcity.com

Please respond to ORACLE-L

                                                                                       
                        
             To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>           
                        
             cc: (bcc: CHITALE Hemant Krishnarao/Prin DBA/CSM/ST Group)                
                        
             Subject: Set Time Zone                                                    
                        
                                                                                       
                        
                                                                                       
                        
                                                                                       
                        





Hi Gurus,

How can I set up a time zone for each region that connect on SAME Database 8i

Case: Database in NewYork. Clients in San Franciso, Paris .. When they use "select sysdate from dual ;" ( on Client or server side )  They should see their local time .??

Thanks in advance
Tran

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Mike T
  INET: tran.manh_at_videotron.ca

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L

(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). [This e-mail is confidential and may also be privileged. If you are not the intended recipient, please delete it and notify us immediately; you should not copy or use it for any purpose, nor disclose its contents to any other person. Thank you.] -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: hemantchitale_at_charteredsemi.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Tue Dec 11 2001 - 21:32:36 CST

Original text of this message

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