I wanted to see what was actually stored. So I inserted the following dates in order 10/4/1582, 10/5, 10/15, 10/16. The result is: TO_CHAR(TH DUMP_DATE ---------- ---------------------------------------- 10-04-1582 Typ=12 Len=7: 115,182,10,4,1,1,1 10-15-1582 Typ=12 Len=7: 115,182,10,15,1,1,1 10-15-1582 Typ=12 Len=7: 115,182,10,15,1,1,1 10-16-1582 Typ=12 Len=7: 115,182,10,16,1,1,1
As you can see, the date is stored as 10/15/1582, so the conversion occurs on the to_date function for the insert... Interesting... DF -----Original Message----- Sent: Friday, November 22, 2002 1:10 PM To: Multiple recipients of list ORACLE-L Actually, I knew that part of it, I was thinking about that last night and wondered how Oracle would handle a date in that range (which in my mind is an invalid date). RF 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. -----Original Message----- Sent: Friday, November 22, 2002 1:50 PM To: Multiple recipients of list ORACLE-L I think this is because during this time Pope Gregory removed 10 days from the calendar to align with solar calendar... check this out... http://webexhibits.org/calendars/timeline.html <http://webexhibits.org/calendars/timeline.html> >From: "Freeman, Robert" >Reply-To: [EMAIL PROTECTED] >To: Multiple recipients of list ORACLE-L >Subject: Oracle is a time machine!! >Date: Fri, 22 Nov 2002 09:55:21 -0800 > >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: [EMAIL PROTECTED] > >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: [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). _____ STOP MORE SPAM with the new MSN 8 <http://g.msn.com/8HMDEN/2015> and get 2 months FREE* -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Viral Desai INET: [EMAIL PROTECTED] 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: [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: Freeman, Robert INET: [EMAIL PROTECTED] 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: [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: Fink, Dan INET: [EMAIL PROTECTED] 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: [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).
