This is what I tried so far but is not working: This is the format of the date return by the Drive api's json response 2014-04-29T17:58:02.437Z
final SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssz");
System.out.println(df.parse("2014-04-29T17:58:02.437Z"));
What is the correct way to convert it?