str2date
Descriptionβ
Converts a string into a DATE value according to the specified format. If the conversion fails, NULL is returned.
The format must be consistent with that described in date_format.
This function is equivalent to str_to_date but has a different return type.