ts sent to a datepicker