Add time units to a date time vector.
Usage
dtt_add_units(x, units, n = 1L)
dtt_add_years(x, n = 1L, ...)
dtt_add_months(x, n = 1L, ...)
dtt_add_days(x, n = 1L, ...)
dtt_add_hours(x, n = 1L, ...)
dtt_add_minutes(x, n = 1L, ...)
dtt_add_seconds(x, n = 1L, ...)
See also
Other add:
dtt_date_add_time()
Examples
dtt_add_units(as.Date("1999-12-31"), "days")
#> [1] "2000-01-01"