Do like this
Date date = new SimpleDateFormat("MMM d, yyyy").parse("Sep 22, 2008");
String formattedDate = new SimpleDateFormat("MM/dd/yyyy").format(date);
System.out.println(formattedDate);
output
09/22/2008
solved How to convert from one date format to another in Java? [closed]