Select for backfill date type

hope this merge works better than lasttime