Tag: custom functions

Calculating the number of working days between two dates

It’s a simple task to use SAS to compute the number of weekdays between two dates. You can use the INTCK function with the WEEKDAY interval to come up with that number.
diff = intkc(’WEEKDAY’, start_date, end_date); 
If you want to c…

Calculating the number of working days between two dates

It’s a simple task to use SAS to compute the number of weekdays between two dates. You can use the INTCK function with the WEEKDAY interval to come up with that number. diff = intck(’WEEKDAY’, start_date, end_date);  If you want to compu…