select trunc((date1-date2)*24) from tbname;