I\'m trying to return the name of the month as a String, for instance \"May\", \"September\", \"November\".
I tried:
int month = c.get(Calendar.MONTH
Use getDisplayName.
For earlier API's use String.format(Locale.US,"%tB",c);
String.format(Locale.US,"%tB",c);