Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Oracle is a time machine!!

RE: Oracle is a time machine!!

From: Fink, Dan <Dan.Fink_at_mdx.com>
Date: Fri, 22 Nov 2002 10:23:56 -0800
Message-ID: <F001.005098A1.20021122102356@fatcity.com>


Very simple explanation. That day does not exist.

"Prior to 1582, every year divisible by 4 was a leap year. Since a year contains only 365.242199 days (slightly less than 365.25 days), an error of ten days accumulated over the centuries. To compensate for this error, Pope Gregory XIII (after whom the Gregorian Calendar is named) decreed that the ten days between October 5, 1582 and October 14, 1582 would be eliminated from the calendar. This made October 1582 the shortest month, with only 21 days. After 1582, years divisible by 100 are not leap years unless they are also divisible by 400. Thus, 1900 is not a leap year, but 2000 is" from http://www.wiskit.com/calendar.html

-----Original Message-----
Sent: Friday, November 22, 2002 10:55 AM To: Multiple recipients of list ORACLE-L

Don't believe me?? Try this:

create table test(the_date date);

insert into test values (to_date('10-05-1582','mm-dd-yyyy') );

select to_char(the_date, 'mm/dd/yyyy') from test;

What do you get? :-))

Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author of several Oracle books you can find on Amazon.com!

Londo Mollari: Ah, arrogance and stupidity all in the same package. How efficient of you.

 
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Freeman, Robert
  INET: Robert_Freeman_at_csx.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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: Fink, Dan
  INET: Dan.Fink_at_mdx.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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). Received on Fri Nov 22 2002 - 12:23:56 CST

Original text of this message

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