str_to_date formats code example
Example 1: disallowed function mysql to_date()
SELECT STR_TO_DATE('18,05,2009','%d,%m,%Y');
Example 2: disallowed function mysql to_date()
SELECT STR_TO_DATE('21,5,2013','%d,%m,%Y');
SELECT STR_TO_DATE('18,05,2009','%d,%m,%Y');
SELECT STR_TO_DATE('21,5,2013','%d,%m,%Y');