I am receiving Date Strings in this Format dd-MMM-yyyy I am intending to convert the Strings to format yyyy-MM-dd by trying to parse the String but I am getting an error 
Unparseable date: 01-AUG-2014
I am trying to do:
SimpleDateFormat form new SimpleDateFormat ("yyyy-MM-dd");
String datefrom = "01-AUG-2014"
Date dfrom = form.parse(datefrom);//getting error here
How can I convert the String 01-AUG-2014 to 2014-08-01?