Rewrite dt_to_yyyymmdd*()