Fri Oct 28 2011 > 20111028
DateFormat df = new SimpleDateFormat("E MMM d yyyy"); Date day = df.parse("Fri Oct 28 2011"); SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd"); String newFormat = format.format(day);
Fri Oct 28 2011 > 20111028
DateFormat df = new SimpleDateFormat("E MMM d yyyy"); Date day = df.parse("Fri Oct 28 2011"); SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd"); String newFormat = format.format(day);