DATEDIFF(hh, LEFT(d_in.Value,10) + ' ' + RIGHT(h_in.Value,8), LEFT(d_dx.Value,10) + ' ' + RIGHT(h_dx.Value,8))