BookmarkSubscribeRSS Feed
PninaYehiel
Calcite | Level 5

I need to calculate the  difference between two days that will take into consideration working days which located in table X and the end of the week 

 

2 REPLIES 2
SASKiwi
PROC Star

The INTNX function using the WEEKDAY interval will count Mondays through Fridays if that is your definition of working days. If you have custom working days then SAS can work with a holidays dataset.

PninaYehiel
Calcite | Level 5

And if the working days are from Sunday to Thursday? 

How do i use the data set ? 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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