I got this error.
What is wrong on my code?
String line = \"Date: Mon, 22 Aug 2005 20:21:52 +0200\"; String datestring = line.substring(6); DateFormat da
Is your system locale something else than English? Try to explicitly specify the locale:
DateFormat dateFormat = new SimpleDateFormat("E, dd MMM yyyy HH:mm:ss ZZZZZ", Locale.US);