Hi i am trying to parse a string into a java.sql.date
Here is what i am doing
private static SimpleDateFormat sdfout = new SimpleDateFormat("yyyy.MM.dd.HH.mm");
try{
String date = "2010.09.30.13.18";
task.setDueDate(new java.sql.Date(sdfout.parse(date).getTime()));
}
The problem is that i only get the date back. Not the time.
Am i doing this correctly