redid check in html to use date and time picker.