I've been trying to parse String into Date, But, The conversion isn't working.
For example, I've these Strings, retrieved from a webservice.
Dec 9, 2016 4:36:00 PM
Jan 12, 2017 11:36:15 AM
I've tried to use these formats, But, The conversion failed.
MMM d, yyyy HH:mm:ss aaa
MMM d, yyyy hh:mm:ss a
Where am I wrong?
I'm getting this exception
java.text.ParseException: Unparseable date: "Dec 9, 2016 4:36:00 PM"