Thanks to all who responded.
Sure, I meant Coordinated Universal Time (UTC).

After all, there seems no simple way to get UTC in PL/SQL, 
i.e. without a switch-over table for daylight saving time,
although at least UNIX-like operating systems use  UTC internally
and POSIX conformant systems should have the C function gmtime().
In order to avoid OS dependecies / installation problems  I'd like 
to avoid any foreign language (  from the PL/SQL point of view ) modules;
well, er ..except if someone had a Java snippet ... ;)

Now I'll probably have to resort to the method I wanted to avoid:
Write a PL/SQL function and use a switch-over table, which has
to be maintained by hand - sigh...

Thanks again for your replies, 
I really did not expect so many responses.

Regards
  Andreas

> ----------
> Von:  Haunschmidt Andreas VASL/FAS[SMTP:[EMAIL PROTECTED]]
> Gesendet:     Dienstag, 3. April 2001 17:45
> An:   Multiple recipients of list ORACLE-L
> Betreff:      function to get GMT time 
> 
> 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: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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: Haunschmidt Andreas VASL/FAS
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to