prova con

Codice PHP:
$data_db="2007-12-30 14:54";

$it_data=date('d-m-Y',strtotime($data_db));

echo 
$it_data