My SimpleDateFormat looks like this:
Date expiryDate = null;
try {
expiryDate = new SimpleDateFormat("EEE, dd-MMM-yyyy hh:mm:ss zzz")
.parse(paramValue.trim());
} catch (ParseException e) {
e.printStackTrace();
}
And when I try to parse the following Date: "Tue, 01-Jan-2036 08:00:01 GMT", I will receive java.text.ParseException: Unparseable date: "Tue, 01-Jan-2036 08:00:01 GMT"
I tried differnt dates in the same format, maybe I'm missing something or there is something special I don't know