.num_to_date treats NAs correctly