Convert java.sql.Date to java.util.Date - Mailing list pgsql-jdbc

From Mican Bican
Subject Convert java.sql.Date to java.util.Date
Date
Msg-id 422CB316.9000507@gmail.com
Whole thread Raw
List pgsql-jdbc
Hi,

How can I Convert a java.sql.date to java.util.date the other way is not
a problem... a method like this..

public java.util.Date getUtilDate(java.sql.Date in){

java.util.Date date;

...convert...convert...

return  date;

}

thank.. you!!

best regards.

Mican Bican


pgsql-jdbc by date:

Previous
From: David Gagnon
Date:
Subject: JDBC error under RH9 for PG7.4/TOMCAT4.1 but not under WINDOWS
Next
From: Oliver Jowett
Date:
Subject: Re: java.sql.date insert as null