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

Home -> Community -> Usenet -> c.d.o.misc -> Y2K problem using JDBC to extract dates from Oracle

Y2K problem using JDBC to extract dates from Oracle

From: Dare Obasanjo <kpako_at_bellsouth.net>
Date: Thu, 09 Mar 2000 12:19:07 -0500
Message-ID: <38C7DD0B.508C4DB8@bellsouth.net>


I have a database table that contains the following date '12-DEC-95'.

When I extract the table using a ResultSet object and call getString() I get the
following

2095-12-12 00:00:00.0

is there any way to set pivot years or are there methods that make this relatively
simple. The reason I ask is that the problem is easily fixable with a little parsing
but I'd hate to reinvent the wheel on this one. Thanks in advance.

PS: I am using jdk1.1.8 with oracle 8.1.5 on Windows 98SE. Received on Thu Mar 09 2000 - 11:19:07 CST

Original text of this message

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