Iterate through dates in a range.