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: function to get GMT time

Re: function to get GMT time

From: Marc Perkowitz <mperkowitz_at_twjconsulting.com>
Date: Tue, 03 Apr 2001 10:07:33 -0700
Message-ID: <F001.002DFC80.20010403091556@fatcity.com>

No, there's not. There are too many variations in timezones and daylight saving/summer time offsets. The only way to be certain with timezone adjustments is to run your computer in GMT and then build your own functions to adjust to local time. If you need to have multiple local times, be sure to stay up-to-date with daylight savings/summer time offsets. Many countries change these thruout the year for various reasons. For example, Australia had a very early summertime adjustment for one year last year for the Olympics.

For current daylight savings adjustments see www.timeanddate.com.

> Hi !
>
> Is there a way to get GMT time within PL/SQL independent from
> the local time(zone), I'm looking for a function similar to SYSDATE,
> but it should return GMT instead of the local time.
>
>
> TIA
>
> Andreas
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Haunschmidt Andreas VASL/FAS
> INET: Andreas.Haunschmidt_at_voest.co.at
>
> 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).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Marc Perkowitz
  INET: mperkowitz_at_twjconsulting.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 Apr 03 2001 - 12:07:33 CDT

Original text of this message

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