SAS offers quite a few very useful calendar functions like intnx() and intck() which allows you get such calculations done.
If you have your own holiday calendar then you must first create a "custom interval" though. Have a look into the Custom Intervals section under the following link: http://www.sascommunity.org/wiki/Generating_Holiday_Lists
... View more