Sets the year, month, and day of the month fields. Other fields are not changed; call clear() first if this is not desired. The month value is 0-based, so it may be clearer to use a constant like JANUARY.
1. How to Declare a Calendar object
2. Add the below line of code to the onCreate method. This will set the Calendar.YEAR field to 1999, the Calendar.MONTH to 9, and Calendar.DAY_OF_MONTH field to 24. So, the date of 09/24/1999. Make sure to use numbers WITHOUT a prefix of 0, such as 09 for the month of September.
myCalendar.set(1999, 9, 24);
3. Compile and run!
Next Recommended Article: How to Declare a SimpleDateFormat variable
Resources:
http://developer.android.com/reference/java/util/Calendar.html#set(int, int, int)