Generate range of dates.