This question already has an answer here:
- Convert one date format into another in PHP 15 answers
My form inputs a date as dd/mm/yyyy, however my database uses a yyyy-mm-dd format. How do I flip the dates into the database format along with the difference of '/' and '-'?
$first_date = $_REQUEST["date_1"];
</div>