Ver original<?phpecho date('Y-m-d', strtotime('10/05/2010')); //Imprime 2010-10-05echo date('Y-m-d', strtotime('10-05-2010')); //Imprime 2010-05-10