prepare datepicker