get_Date: Function creates Date time object(s) for representing...

View source: R/get_Date.R

get_DateR Documentation

Function creates Date time object(s) for representing calendar dates

Description

The function is just a simple wrapper around the base::as.Date() as a reminder of the arguments required to implement the base function. Provides a list of "try out" formats.

Usage

get_Date(date_vals = NULL, date_format = NULL)

Arguments

date_vals

A character string or vector of character strings of time in the assumed ISO 8601 format of "YYYY-mm-dd".

date_format

A character string that defines the format of date_vals if different from the ISO 8601 format. The format string should follow the format string for base::strptime().

Value

A Date object(s)

Author(s)

Rick Dean


deandevl/RtsaPkg documentation built on Oct. 5, 2023, 5:23 p.m.