Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Y2K QUESTION automatic conversion
What Doug means is
If one converts a string to a date using the YY format mask, then the database defaults the century. As we know, this currently defaults to 19. But where does this come from? Is it built into the database somewhere, or is it taken from the current system date?
This will make a difference come the year 2000: '5-MAY-98' currently (today being the 6th May, 1998) means 05/05/1998. But what will it mean on the 1st January, 2000? Will it still mean 05/05/1998, or will it suddenly mean 05/05/2098?
Unfortunately, I don't know the answer
On 6 May 1998 11:46:19 GMT, "Barry Jones" <jonesb_at_logica.com> wrote:
|>No, the reason this works currently is your NLS_DATE format has set to 2
|>digit years.
|>You have the choice of either changing the NLS_DATE format or performing a
|>to_date with 4 digit year picture.
|
--
Tommy Wareing
MIS Group
Learning Resources
Oxford Brookes University
01865 483389
Received on Wed May 06 1998 - 10:39:18 CDT
![]() |
![]() |