java.text.ParseException: Unparseable date
Your pattern does not correspond to the input string at all… It is not surprising that it does not work. This would probably work better: SimpleDateFormat sdf = new SimpleDateFormat(“EE MMM dd HH:mm:ss z yyyy”, Locale.ENGLISH); Then to print with your required format you need a second SimpleDateFormat: Date parsedDate = sdf.parse(date); SimpleDateFormat print = … Read more