Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Altering session time zone...
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
![]() |
![]() |