Received: from send202.yahoomail.com (send202.mail.yahoo.com [128.11.68.126]) by hub.org (8.9.2/8.9.1) with SMTP id QAA57350 for ; Mon, 1 Feb 1999 16:46:33 -0500 (EST) (envelope-from peter_garner@yahoo.com) Message-ID: <19990201214348.22907.rocketmail@send202.yahoomail.com> Received: from [208.16.26.149] by send202.mail.yahoo.com; Mon, 01 Feb 1999 13:43:48 PST Date: Mon, 1 Feb 1999 13:43:48 -0800 (PST) From: Peter Garner Subject: Re: ResultSet.getDate To: Peter T Mount Cc: pgsql-interfaces@postgreSQL.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi Peter! ;-) >I'll check, but what version of the JDK/JRE are you >using? The java.util.Date class was broken in pre >jdk1.1.6 VM's. I am using the JDK 1.1.7v1a from Blackdown. Indeed, Java's handling of dates is a little funky. But in this case the problem is that the returned strings are not being handled properly. Calling getString instead of getDate returns : "Mon Feb 01 16:08:00 1999 UTC" And the format string used in the SimpleDateFormatter object that getDate uses to convert that string is not correct for that format. If there is anything I can do to help, please let me know! :-) == Peace, Peter We are Microsoft of Borg, you will be assimilated!!! Resistance is fut... ***BZZZRT*** THUD!!! [General Protection Fault in MSBorg32.DLL] Please contact the vendor for more information _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com