Get and Set Seconds

dtt_second(x, ...)

dtt_seconds(x, ...)

dtt_second(x) <- value

dtt_seconds(x) <- value

dtt_set_second(x, value)

Arguments

x

A Date or POSIXct vector.

...

Unused.

value

A numeric vector of the second value(s).

Value

An integer vector.

Examples

dtt_second(Sys.time())
#> [1] 1