Codice PHP:
$dataita date("d-m-Y",strtotime($dataeng))