getDate of resultset Ignoring the Time (hors min secs) component in DB2
843859Jan 24 2007 — edited Jan 24 2007Hello I have a DB2 in which has the date in the format 2007-01-24 09:25:21.680000.
I am trying to retrevie it using the
#####################################
java.sql.Date start =rs.getDate("Give_time");
System.out.println("This is the Start Time Stamp" + startBuild.getTime());
############################################
Gives me the Timestamp of the "2007-01-24" completely ignoring the time "09:25:21" which is more important to me in this case.
How do I retreve the time in the date ?