/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* Go from MM/DD/YYYY form input to YYYY-MM-DD */ $date = $dateStartArray[2]."-".$dateStartArray[0]."-".$dateStartArray[1];