getP: Get the part of the POSIXlt date you want

Description Usage Arguments Examples

Description

Get the part of the POSIXlt date you want

Usage

1
getP(date, part, CHAR = FALSE)

Arguments

date

POSIXlt

part

"year" "month", "day", "hour", "minute", "second"

CHAR

boolean as character

Examples

1
2
res <- YYYYmmddHH_chr("2015010100")
getP(res,"month")

jeanmarie-eu/timeManip documentation built on May 30, 2019, 8:06 p.m.