I'm trying to format a date using the method where dd-mm-YYYY is an example date
Calendar cal = Calendar.getInstance(Locale.ENGLISH);
cal.setTimeInMillis(displayDate*1000);
String date = DateFormat.format("dd-mm-YYYY", cal).toString();
I'm looking for a list of characters I can use, similar to this in PHP, to format my date how I want. Is there a list anywhere around I can use? The format I'm after is 26th April, 2006, but a list would be good so I could bookmark it for reference later on.
