Iterate Through a Date Range.
When you need to write logic for each specific date in a date range. One way to iterate through the days is using something like this method. This method could then be called like: If you have not used yield before there are many great articles out there already that can explain in more detail,Read more about Iterate Through a Date Range.[…]