Learn R Programming

sdtm.oak (version 0.1.0)

assert_dtc_fmt: Assert date time character formats

Description

assert_dtc_fmt() takes a character vector of date/time formats and checks if the formats are supported, meaning it checks if they are one of the formats listed in column fmt of dtc_formats, failing with an error otherwise.

Usage

assert_dtc_fmt(fmt)

Arguments

fmt

A character vector.