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 -> Timezone Problem

Timezone Problem

From: Björn Wächter <bwc_at_p3-solutions.de>
Date: Tue, 20 Dec 2005 15:58:42 +0100
Message-ID: <40qkjfF1brfqkU1@news.dfncis.de>


Hello,

I'm a bit confused about the result of tz_offset in oracle.

I don't understand the result of this query

SELECT tz.*, tz_offset(tz.tzname) DIFF
FROM V$TIMEZONE_NAMES tz WHERE TZNAME IN ('US/Eastern','GMT','Europe/Berlin','Atlantic/Azores','Etc/GMT+1'))

I think the result of tz_offset is the offset tu UTC

TZNAME          | TZABBREV | DIFF
Atlantic/Azores | LMT      | -01:00
Atlantic/Azores | HMT      | -01:00
Atlantic/Azores | AZOT     | -01:00
Atlantic/Azores | AZOST    | -01:00
Atlantic/Azores | AZOMT    | -01:00
Atlantic/Azores | WET      | -01:00
Etc/GMT+1       | GMT+1    | -01:00
Europe/Berlin   | LMT      | +01:00
Europe/Berlin   | CET      | +01:00
Europe/Berlin   | CEST     | +01:00
Europe/Berlin   | CEMT     | +01:00
GMT             | GMT      | +00:00
US/Eastern      | LMT      | -05:00
US/Eastern      | EST      | -05:00
US/Eastern      | EWT      | -05:00
US/Eastern      | EDT      | -05:00

So why Is the offset of the Azores and GMT+1 the same?

Björn Received on Tue Dec 20 2005 - 08:58:42 CST

Original text of this message

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