Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting Hrs and Minutes of java.sql.Date

703027Feb 28 2007 — edited Mar 1 2007
I've the following statement to get the date
java.sql.Time t = rs.getTime("time");

I want to display the Hrs and Minutes separately of the component t. How do I do that?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 29 2007
Added on Feb 28 2007
3 comments
93 views