RE: Use of CURRENT_DATE vs SYSDATE and DST

DST

________________________________

From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of
Joel.Patterson@xxxxxxxxxxx



Why did adding 1 second go to 1:59, and adding 2 seconds go to 3:00? 

 

 

 

 SQL> /

TO_CHAR(SYSDATE,'MM TO_CHAR(CURRENT_DAT

------------------- -------------------

03/22/2007 13:34:24 03/22/2007 13:34:25
SQL> select to_timestamp_tz('20070311 01:59:58 US/EASTERN','YYYYMMDD
HH24:MI:SS TZR') + TO_DSINTERVAL('0 00:00:01') from dual;
11-MAR-07 01.59.59.000000000 AM US/EASTERN

SQL> select to_timestamp_tz('20070311 01:59:58 US/EASTERN','YYYYMMDD
HH24:MI:SS TZR') + TO_DSINTERVAL('0 00:00:02') from dual;
11-MAR-07 03.00.00.000000000 AM US/EASTERN


Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.

Other related posts: