You must convert both input values into the same units before the time difference subtraction.
I suggest in most problem to convert the input into the smallest unit; I would guess that would be...