mysql>
mysql> SELECT STR_TO_DATE('04/31/2004', '%m/%d/%Y');
+---------------------------------------+
| STR_TO_DATE('04/31/2004', '%m/%d/%Y') |
+---------------------------------------+
| 2004-04-31 |
+---------------------------------------+
1 row in set (0.00 sec)
mysql>