My HTML Form has a
<input type="date">
Whereas my mysql database's table column is a date, which is stored in the format YYYY-MM-DD, however, the form submits the date field as DD-MM-YYYY, which MYSQL rejects.
Is there any way to get around this or to convert the date values into the correct format, or do i have to use another plugin to accomplish this? (e.g jquery ui)