powered by
Checks if the data format x complies with format.
x
format
is_date_format(x, format = "%Y-%m-%d")
TRUE if x complies with format, and FALSE otherwise.
TRUE
FALSE
object of class character or Date
character
Date
required date format (see strptime)
strptime
is_date_format("2019-05-14", "%Y-%m-%d")
Run the code above in your browser using DataLab