How to Loop through Dates in SAS?In this example, you'll see how to use a SAS macro and a Do loop in the Data step to loop through dates in SAS. Using the INTNX() function, we can loop over dates based on an offset value. INTCK() can be used to determine the number of months to generate Using the Data step to [...]