The date x decades hence

decades_hence(decades = 0, tzone = "")

Arguments

decades

an integer specifying the number of decades to add to the current

tzone

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.

Value

The date, x decades from now

Examples

decades_hence(1)
#> [1] "2032-03-23"
decades_hence(2000)
#> [1] "22022-03-23"