Description Usage Arguments Value Examples
Gets the number of weekdays (not Saturday or Sunday) between two dates
1 | pts_weekdays(from = Sys.Date(), to = dttr::dtt_add_years(from, 1L) - 1)
|
from |
A date. |
to |
Another date. |
An integer scalar.
1 2 3 | pts_weekdays()
pts_weekdays(as.Date("2000-01-01"), as.Date("1999-12-15"))
pts_weekdays(as.Date("2000-01-01"), as.Date("1999-12-15"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.