I am trying to convert this date 2013-03-04T12:08:52.74+08:00
formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
Date date = formatter.parse(dateresult);
But it ends with an exception
03-07 19:17:05.493: W/System.err(2006): java.text.ParseException: Unparseable date: "2013-03-04T12:08:52.74+08:00" (at offset 19)
I tried this. But same exception occured. Does anyone know of another (possibly better) way to accomplish this ?