powered by
Method for get number of weekdays days in period. Weekends is suturday and sunday.
weekends_length(x)
Integer
tpr object or date vector
Alexey Seleznev
pm <- previous_month() # weekends day number pm_wd_len <- weekends_length(pm)
Run the code above in your browser using DataLab