getP: Get the part of the POSIXlt date you want

Description Usage Arguments Examples

View source: R/date_split.R

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")

jeanmarielepioufle/timeManip documentation built on May 19, 2019, 9:25 a.m.