I'm using the below code to take the date input from the user:
<p>Start Date: <input id="start" name="start_Date" type="date" /></p>
I'm processing this input through PHP script and inserting into a database as follows:
startDate = '{$f['start_Date']}'
This inserts the date in the database in yyyy-mm-dd. How to change this to mm/dd/yyyy format before inserting it into the database.