I have a String like
"2013-4-25"
I need to convert this into "MM-dd-yyyy"
format. Later I will have to append this date
like
Calendar cal=new GregorianCalendar();
cal.setTime(date);
cal.set(Calendar.HOUR, 23);
cal.set(Calendar.MINUTE, 59);
cal.set(Calendar.SECOND, 59);
How could I do this?