/ Published in: PHP
![](/img/icon_sav.png?v3)
This will convert dates from MM-DD-YYYY to YYYY-MM-DD (iso format)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<? function convertDate($date) { } print convertDate('11/05/1996'); //prints 1996-11-05 ?>
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)