ORA RECUPERO I DATI:
$g=$_POST['giorno'];
$m=$_POST['mese'];
$a=$_POST['anno'];

$time=$_POST['ora'];

$data_ora = "$a-$m-$g $time:00";

Il campo sara' DATETIME