Converting times to integers before subtraction