DateFormat conversion problem in java?
- by androidbase Praveen
my input String is : 2010-03-24T17:28:50.000Z
output pattern is like:
DateFormat formatter1 = new SimpleDateFormat("EEE. MMM. d. yyyy");
i convert this like this:
formatter1.format(new Date("2010-03-24T17:28:50.000Z"));//illegalArgumentException here the string "2010-03-24T17:28:50.000Z"
ouput should be like this: Thu. Mar. 24. 2010 idea
…