I am trying to format date string ex. 2014-11-24T18:30:00.000Z to 2014-11-24 using this code below:
2014-11-24T18:30:00.000Z
2014-11-24
SimpleDateFormat dateFormat = new
USe this
Date date = formatter.parse(dateInString);