Enable datepicker and timepicker