I'm building a PHP database front end with a MySQL backend and it's great, MySQL is perfect. Well almost. The way you enter dates here is not intuitive. I want to create some kind of mask that will allow me to enter a date as MM-DD-YYYY or MM/DD/YYYY and then have it resolve to YYYY-MM-DD. Any help is appreciated.