Modified datepicker.