I am receiving date and time in the format of 13/10/26 20:02. I like to change that format to the new format as "EEE,d MMM yyyy,HH:mm:ss". What could be the best way to do that?
EDIT1:
Now I tried as follow
String date = "26/10/2013 20:55";
SimpleDateFormat df = new SimpleDateFormat("EEE,d MMM yyyy,HH:mm:ss");
String newdateformat = df.format(Date.parse(date));
But now newdateformat is "Tue,10 Feb 2015,20:55:00"; Why the date is wrong? Thanks