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

Home -> Community -> Usenet -> c.d.o.server -> Re: Altering session time zone...

Re: Altering session time zone...

From: DA Morgan <damorgan_at_psoug.org>
Date: Tue, 09 Aug 2005 12:24:27 -0700
Message-ID: <1123608223.204281@yasure>


Miggins wrote:
> Hi,
>
> Am trying to alter a seesion time zone so that when a user logs on or
> connects through the running of a report their location can be checked
> and a timezone offset applied to that session.
>
> Using ALTER SESSION SET TIME_ZONE='+5:00'; has no effect whatsoever.
> Should not selecting SYSDATE have the offset between DBTIMEZONE and
> SESSIONTIMEZONE applied.
>
> Eg DBTIMEZONE = '+1:00' SESSIONTIMEZONE = '+5:00'
>
> Therefore if at 17:00 "select to_char(sysdate,'HH24:MI') from dual;" is
> issued then I would expect the time returned would be 21:00, but it
> isnt
>
> Any ideas?
>
> Cheers

www.psoug.org
click on Morgan's Library
click on Timestamp
look at the timezone entries

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Tue Aug 09 2005 - 14:24:27 CDT

Original text of this message

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