Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Use of CURRENT_DATE vs SYSDATE and DST
Oh, ahumm.. duh. Geez.... March 11th. I need a beer, It's Friday!
Yeah!
Thanks
Joel Patterson
Database Administrator
joel.patterson_at_crowley.com
x72546
904 727-2546
From: Allen, Brandon [mailto:Brandon.Allen_at_OneNeck.com]
Sent: Friday, March 23, 2007 11:21 AM
To: Patterson, Joel; oracle-l_at_freelists.org
Subject: RE: Use of CURRENT_DATE vs SYSDATE and DST
DST
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of
Joel.Patterson_at_crowley.com
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.
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Mar 23 2007 - 14:08:32 CDT
![]() |
![]() |