I have a date whcih I retrieve from a database.
java.sql.Date date = resultset.getDate("DATE_FIELD")
this field is stored as a data type Date in oracle, an example 12/03/2004 12:35
I wish to obtain this string value, I use the simpleDateFormat class as
sdf = SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
I use the format method which gives me 12/03/2004, I also need the time part.
How can I do this?