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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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