Add Months

dtt_add_months(x, n = 1L, ...)

Arguments

x

A Date or POSIXct vector.

n

An integer of the number of months to add

...

Unused.

Value

The modified Date or POSIXct vector.

Examples

dtt_add_months(Sys.time())
#> [1] "2020-04-05 13:39:59 PDT"