PUBLIC dt_a, dt_b dt_a = DATETIME(2005,10,14,16,30) dt_b = DATETIME(2005,10,17,10,0) ?m.nMins = (dt_b - dt_a)/60
?INT(?m.nMins)