To clarify my question the original problem is that I was trying to :
I don't know the problem with this code:
SimpleDateFormat fromFormat = new SimpleDateFormat("MMM dd, yyyy HH:mm:ss a");
String date = "Sep 13, 2016 6:16:46 PM";
Date parse = fromFormat.parse(date);
I got this error:
Exception in thread "main" java.text.ParseException: Unparseable date: "Sep 13, 2016 6:16:46 PM"