BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi

I have a datset which is list of dates which are holidays in the year.
I have to calculate sundays in each month so that i can calculate working days in each month.
Working days are excluding sunday and holidays.
how should i calculate working days in a month
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
This is not an ODS or Reporting Procedure question. If you do this:
1) go to http://support.sas.com
2) click on Samples & SAS Notes on the left
3) When the Samples window loads, type
calculate holiday
into the search box and then click Search
You will get the following hit:
http://support.sas.com/kb/26/044.html

and this note points you to a second example of determining US Holidays:
http://support.sas.com/kb/24/655.html

and that note points you to these 2 links:
http://support.sas.com/kb/24/735.html
http://support.sas.com/kb/25/993.html

AND, there's a Tech Support note about using interval functions:
http://support.sas.com/techsup/technote/ts668.pdf

For more help with this task, your best bet is to contact Tech Support.
cynthia

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1304 views
  • 0 likes
  • 2 in conversation