Get and Set Days

dtt_day(x, ...)

dtt_days(x, ...)

dtt_day(x) <- value

dtt_days(x) <- value

dtt_set_day(x, value)

Arguments

x

A Date or POSIXct vector.

...

Unused.

value

A numeric vector of the day value(s).

Value

An integer vector.

Examples

dtt_day(Sys.time())
#> [1] 5