changed date format in datepicker to match sql date