I have string form of date:
2011-03-27T09:39:01.607
and I want to format it to March 27, 2011
I am using
DateFormat[] formats = new DateFormat[] {
DateFormat.getDateInstance(), DateFormat.getDateTimeInstance(),
DateFormat.getTimeInstance(), };
String actDate= formats[0].format(uploadeddate.substring(0,9));
but its not working.
How do I convert to March 27, 2011?