<?php//fecha ejemplo:$fecha="06/05/2009";// formato:echo date("Y-m-d", strtotime($fecha));?>
<?php//fecha ejemplo:$fecha="2009-05-06";// formato:echo date("d/m/Y", strtotime($fecha));?>