How to get month from a date in java :
DateFormat inputDF = new SimpleDateFormat(\"mm/dd/yy\"); Date date1 = inputDF.parse(\"9/30/11\");
Month format should be MM instead of mm
MM
mm
DateFormat inputDF = new SimpleDateFormat("MM/dd/yy");