Calendar c = Calendar.getInstance(); System.out.println("Mili->>" + c.getTimeInMillis()); System.out.println("Month ->>" + Calendar.MO
You're getting calendar c from an instance but calendar from month with the Calendar object, get it from the instance too.
Also - Calendar starts from 0 as referenced here
In other news, use the new DateTime API in Java 8 or JODA time, they're much nicer.