Android Utililty Methods DatePicker Get

List of utility methods to do DatePicker Get

Description

The list of methods to do DatePicker Get are organized into topic(s).

Method

java.util.DategetDateFromDatePicket(DatePicker datePicker)
Get the date as milliseconds from a DatePicker
int day = datePicker.getDayOfMonth();
int month = datePicker.getMonth();
int year = datePicker.getYear();
Calendar calendar = Calendar.getInstance();
calendar.set(year, month, day);
return calendar.getTime();