Hi,
I tried to parse the date using SimpleDateFormat
DateFormat df = new SimpleDateFormat("d MMM yyyy hh:mm");
i get the date from database using resultset.getstring()method
and the date (
String) is
String strEndDate = "2006-08-14 03:57:00.0"
now i parse it as
Date expiryDate = df.parse(strEndDate);
but i get the exception : java.text.ParseException: Unparseable date: "2006-08-14 03:57:00.0"...
i need the date in the format "d MMM yyyy hh:mm"(the date and time format)
Please help!
Thanks in advance
Vidya