Skip to contents

This function tries converting a single character string into a well-formatted date, but still returning a character. If it can't convert it, it returns NA.

Usage

date_i_guess_and_convert(x)

Arguments

x

A character vector

Value

If the format cannot be resolved, the function returns NA; if a matching format is found, it returns the converted values.