add getISOString method to datepicker