Java.text.ParseException : Unparseable date: Exception

Java.text.ParseException : Unparseable date: Exception … here is a solution to the problem.

Java.text.ParseException : Unparseable date: Exception

I’m trying to get the date from a string,

SimpleDateFormat simpleDateFormat = new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z");
Date date = simpleDateFormat.parse(dateString);

My date string is:

Wed, 02 September 2015 08:27:00 MSK

I’m getting this error :

java.text.ParseException: Unparseable date: "Wed, 02 September 2015 08:27:00 MSK" (at offset 32)

What’s wrong?
Thanks for your help.

Related Problems and Solutions