This function returns an XPDateTime object that represents the date and the user has chosen using the HTMLDatePicker.
XPDateTime
DatePicker Class | com.plumtree.uiinfrastructure.pagecontrols.datepicker Namespace