How can i format the date to be like this
Mon, 27 Nov 2011
public static String sFleTimeToDate(double ft) {
double date = ft / 10000 - 11644455600000L;
date += TimeZone.getDefault().getOffset((long) date);
return DateFormat.format("ddd, dd MMM yyyy", new Date((long) date)).toString();
}
but this function return
027, 27 Nov 2011
You can change your DateFormat.format to