Hi I need to convert string to date below is my code,
String string = "January 2, 2010";
DateFormat format = new SimpleDateFormat("MM/dd/yyyy", Locale.ENGLISH);
Date date = format.parse(string);
System.out.println("Date././."+date);
If i run my code am getting parse exception as like below,
java.text.ParseException: Unparseable date: "January 2,2010"