I have an html form set up and a database with a date field. ( Set as date ).

when I add the date from the html form, the database gives me back 0000-00-00

How can I get the database to add the date in the form M-D-Y?