weeks_ago.Rd
The date x weeks ago
weeks_ago(weeks = 0, tzone = "")
an integer specifying the number of weeks to subtract from the current
a character vector specifying which time zone you would like to find the previous date of. tzone defaults to the system time zone set on your computer.
the date, x weeks ago
weeks_ago(1)
#> [1] "2022-03-16"
weeks_ago(52)
#> [1] "2021-03-24"