add dateToString in Datepicker controll