Get the date of the Xth the specific weekday
find_date_by_wday(year, month, wday, ordinal)
Arguments
- year
numeric year
- month
numeric month
- wday
numeric weekday
- ordinal
number of week
Value
a vector of class POSIXct
Examples
find_date_by_wday(2021, 1, 2, 2)
#> [1] "2021-01-11"