isdate: Check Date Format

Description Usage Arguments

View source: R/check_input_variables.R

Description

isdate checks whether values in a vector are in a standard date or datetime format and converts them to POSIXct.

Usage

1
isdate(datevec, datevec_name, date_formats, tz)

Arguments

datevec

character vector in a standard date or datetime format.

date_formats

character vector, date or datetime formats that are checked

tz

specify the desired time zone. Default is "UTC".


treenet/treenetproc documentation built on June 16, 2021, 4:39 p.m.