Calendar c = Calendar.getInstance(); System.out.println("Mili->>" + c.getTimeInMillis()); System.out.println("Month ->>" + Calendar.MO
You are displaying the value of the Calendar.MONTH constant, hence 2.
Calendar.MONTH