I want to convert this string to the following date format.
String s = \"2-26-2013\"; Date date = new SimpleDateFormat(\"EEEE, MMMM/dd/yyyy\").parse(s); Sy
Instead of using MMMM/dd/yyyy you need to used MM-dd-yyyy. SimpleDateFormat expects the pattern to match what its trying to parse.
MMMM/dd/yyyy
MM-dd-yyyy