Datepicker fully functional