Return to Snippet

Revision: 34500
at October 23, 2010 06:51 by loric


Initial Code
$myDate = '10/16/2007';
$myDate = date('Y-m-d', strtotime($myDate));

Initial URL


Initial Description


Initial Title
PHP convert user input date to MySQL formatted date

Initial Tags


Initial Language
PHP