Just keep in mind, as I mentioned earlier, DST is not accounted for. So you
will first need to convert from EDT to EST and then use this function.
Otherwise your GMT will be one hour off. Of course, if you run your machine
on EST and do not switch to EDT, you will be fine.
Oh, I've assuming you really mean Universal Time (UT) when you're saying
GMT. If you actually mean the local time for the UK, then you'll need to
take their summer time change into effect also. Their summer time took
effect on March 25th this year, while US DST took effect on April 1st. So,
for one week the time difference was less than usual, but now the difference
is consistent.
Marc Perkowitz
Senior Consultant
TWJ Consulting, LLP
847-256-8866 x15
www.twjconsulting.com
----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 1:19 PM
> This gives GMT. Thanks! Ruth
> ----- Original Message -----
> To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
> Sent: Tuesday, April 03, 2001 1:15 PM
>
>
> > Hi Andreas,
> >
> > Please try this.
> >
> > select sysdate, new_time(sysdate,'EST','GMT') from dual;
> >
> > Thanks,
> > Gurdarshan
> >
> >
> > -----Original Message-----
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 03, 2001 11:45 AM
> > To: Multiple recipients of list ORACLE-L
> >
> >
> > 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: Singh, Gurdarshan (Gurdarshan)** CTR **
> > 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: Ruth Gramolini
> 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: Marc Perkowitz
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).