Improve the error reason of the `date_to_unix_ts` to make more sense.