Detect date format of a string

detect_date_format(datestring)

Arguments

datestring

string representing a date

Value

a string with the format code of the given datestring

Examples

detect_date_format("1970-01-01")
#> NULL