Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Y2K bug?
Eric Cheng wrote:
>
> Hi fellows,
>
> I have a question for you.
> Please try to run the following command and let me know what you get.
>
> 1. select ename, SYSDATE, hiredate, (SYSDATE-hiredate)/7 WEEKS
> 2. from emp
>
> All I got are negative numbers, however are we supposed to get
> positive numbers? Is this a Y2K bug?
> IMO, the current date minus hiredate should be positive numbers.
> I am using ORACLE8i on Redhat, I haven't tried this on NT yet.
> Maybe you already ran into this one.
> Thanks!
>
> Eric Cheng
Eric
make sure the NLS_DATE_FORMAT it set correctly on the server AND the
client.
Martin Received on Tue Jul 11 2000 - 00:00:00 CDT