Get and Set Months

dtt_month(x, ...)

dtt_months(x, ...)

dtt_month(x) <- value

dtt_months(x) <- value

dtt_set_month(x, value)

Arguments

x

A Date or POSIXct vector.

...

Unused.

value

A numeric vector of the month value(s).

Value

An integer vector.

Examples

dtt_month(Sys.time())
#> [1] 3