The SAS Output Delivery System and reporting techniques

how should i calculate working days in a month

Reply
N/A
Posts: 0

how should i calculate working days in a month

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
SAS Super FREQ
Posts: 8,864

Re: how should i calculate working days in a month

Posted in reply to deleted_user
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
Ask a Question
Discussion stats
  • 1 reply
  • 138 views
  • 0 likes
  • 2 in conversation