I struggle with I guess trivial problem, but I don't see anything wrong here:
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
String strDate = "2014-12-07T13:35:08.030Z";
try
{
return format.parse(strDate);
}
catch (ParseException e)
{
e.printStackTrace();
Log.e("Problem with formatting date", strDate);
}
I'm getting java.text.ParseException: Unparseable date: "2014-12-07T13:35:08.030Z" (at offset 19)
Any idea what is still wrong here?