I am pretty sure this question is a duplicate!
But here is the answer:
This uses the old way with the Date
object
SimpleDateFormat format = new SimpleStringFormat("yyyy-MM-ddTHH:mm:ss.zzZ");
Date d = format.parse("Your date String return thing");
Then you have a Date
Object,
(I am not completely sure if the pattern is right)
If you need it as String:
To get a String out of it use:
String newDateFormat = format.format(d);
The way above is working. If you interested in doing it in a "modern" way,
take a look at this classes:
I think time handling is a complex topic and you should investigate a bit if you work with it!