/ Published in: PHP

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
