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: Jay Hostetter <jhostetter_at_decommunications.com>
Date: Mon, 25 Nov 2002 05:49:00 -0800
Message-ID: <F001.0050A9D0.20021125054900@fatcity.com>


Did you try it with different NLS_LANGUAGE and NLS_TERRITORY settings?

>>> mstahlke_at_denvernewspaperagency.com 11/22/02 03:49PM >>> Yes. This is where it gets interesting. England and the colonies didn't adopt the Gregorian Calendar Reform until September, 1752.

October, 1582 had its normal 31 days in the British Empire and September, 1752 had its normal 30 days outside the British Empire.

So what does all this mean? Technically, Oracle's date routines are correct in some parts of the world but not others.

Happy Friday,
Mark Stahlke
Oracle DuhBA
Denver Newspaper Agency

 -----Original Message-----

Sent:	Friday, November 22, 2002 11:40 AM
To:	Multiple recipients of list ORACLE-L
Subject:	Re: Oracle is a time machine!!

Does it have any relation to year 1752 adjustment for leap year?

Try following on unix ......

cal 9 1752

   September 1752
 S M Tu W Th F S

       1 2 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30  

-Rachna

> 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? :-))
>

**DISCLAIMER
This e-mail message and any files transmitted with it are intended for the use of the individual or entity to which they are addressed and may contain information that is privileged, proprietary and confidential. If you are not the intended recipient, you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received this communication in error, please notify the sender and delete this e-mail message. The contents do not represent the opinion of D&E except to the extent that it relates to their official business.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jay Hostetter
  INET: jhostetter_at_decommunications.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 Mon Nov 25 2002 - 07:49:00 CST

Original text of this message

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