I'm having problems with parsing date in format like this "Dec 21 2017 12:30:45 AM ALMT"
.
SimpleDateFormat sdf = new SimpleDateFormat("MMM dd yyyy hh:mm:ss a z");
sdf.parse("Dec 21 2017 12:30:45 AM ALMT");
Using the SimpleDateFormat getting me stuck with java.text.ParseException: Unparseable date: "Dec 21 2017 12:30:45 AM ALMT"
Where am I getting wrong? Checked pattern more than once with Java documentation, it looks as recommended.