I have the error in this line:
String mDate = new SimpleDateFormat("dd MM yyyy").format(new SimpleDateFormat("EEE MMM dd kk:mm:ss zZZZ yyyy").parse(myDate.toString()));
Error:
java.text.ParseException: Unparseable date: "Thu Dec 14 00:00:00 GMT+02:00 2017" (at offset 0)
If the error happens due incorrectly pattern then what pattern will be proper for this format of date?
I know that many topics exist with similar problems. But the key to my questions is proper date format for my date.