String input="5/31/2013 2:30:56 PM";
SimpleDateFormatter s=new SimpleDateFormatter("MMMM dd, yyyy hh:mm a").Parse(input);
System.out.println(s);
I am expecting to this output "May 31,2013 2:30 PM" in this format but I am getting unparseable error if any one know the alternate way help me to resolve it.