Converts a string to DATE type.
DATE
TO_DATE(<string>)
<string>
SELECT TO_DATE('2020-05-31') AS res;
Returns: 2020-05-31
2020-05-31