Skip to contents

This function looks for a well-formatted date character string inside a single character string, and returns the matching date using the %Y-%m-%d format (e.g. 2018-01-23).

Usage

date_i_extract_string(x)

Value

Either NA_character_ or a date, as a standardized character string.

Author

Thibaut Jombart