my code is
Date data = jdc_dataN.getDate();
DateFormat in = new SimpleDateFormat("yyyy-MM-dd");
SimpleDateFormat out = new SimpleDateFormat("dd/MM/yyyy");
String result;
try {
result = out.format(in.parse(data.toString()));
System.out.println("result ="+ result);
} catch (ParseException ex) {
ex.printStackTrace();
}
error is
java.text.ParseException: Unparseable date: "Thu Sep 25 18:08:06 BRT 2008"
at java.text.DateFormat.parse(DateFormat.java:337)
Thank u.