Obtains the selected date from a Calendar.
a Calendar
location to store the year as a decimal number (e.g. 2011), or null
location to store the month number (between 0 and 11), or null
location to store the day number (between 1 and 31), or null