How to Calculate The Last Day of the Month in SAS?
SAS has a really interesting function INTNX where you can control dates and it can be used to get any desired value from dates. Furthermore you can easily assign that value to the macro variable. SAS INTNX Function: The INTNX function increments a date, time, or datetime value by intervals such as DAY, WEEK, QTR, … Read more