The TIMEDIFF function is a calculation field expression for calculating the difference between two time fields, with the desired output units (minutes or hours).