/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// From MySQL (YYYY-MM-DD) to European (DD/MM/YYYY) $mysql_date = '2011-12-26'; // From European (DD/MM/YYYY) to MySQL (YYYY-MM-DD) $euro_date = '26/12/2011'; $mysql_date = "$y-$m-$d";