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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1162 views
  • 0 likes
  • 2 in conversation