Looping from one date until the next.