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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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