export datePicker function!