make ts a date