puoi usare questa funzione
function dataita($data){
$a = explode("-",$data);
$data= $a[2]."/".$a[1]."/".$a[0];
return $data;
}
poi se ti serve fare anche il contratio, magari per inserire delle date nel db puoi usare questa
function dataeng($data){
$a = explode("/",$data);
$data= $a[2]."-".$a[1]."-".$a[0];
return $data;
}

Rispondi quotando