New method getSelectedDate added, returning the selectedDate date object via a function callback.