Base datepicker functionality added.