is_date_format {litteR} | R Documentation |
Check Date Format
Description
Checks if the data format x
complies with format
.
Usage
is_date_format(x, format = "%Y-%m-%d")
Arguments
x |
object of class |
format |
required date format (see |
Value
TRUE
if x
complies with format
,
and FALSE
otherwise.
Examples
is_date_format("2019-05-14", "%Y-%m-%d")
[Package litteR version 1.0.0 Index]