Convert Timestamp to Date?

From: "Dr(dot) Evil" <drevil(at)sidereal(dot)kz>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Convert Timestamp to Date?
Date: 2001-11-05 21:20:54
Message-ID: 20011105212054.8368.qmail@sidereal.kz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


Hi, is there a way to convert java.sql.Timestamp to java.util.Date
type? It seems like there should be because Timestamp is basically a
wrapper for Date, but there doesn't seem to be any method to do this.
I could have Timestamp output a string and then have Date parse the
string, but that seems very inefficient.

Thanks

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Ned Wolpert 2001-11-05 22:17:59 Re: Submission of new DefaultProperties class
Previous Message Peter Eisentraut 2001-11-05 20:06:04 Re: Submission of new DefaultProperties class