My date string is like this dd.MM.yyyy-HH.mm.ss .
I am doing following:
String s_date= "13.06.2012-12.12.12"
Date d_date = new SimpleDateFormat("dd.MM.YYYY-HH.mm.ss", Locale.ENGLISH).parse(s_date);
But it is throwing Unparseable date: "13.06.2012-12.12.12" Exception.
How can I make it work for the given date-time format ?