Yes, you should switch those values to numbers to make the calculations a lot easier. And, use 24 hour values. E.g. 1 pm = 13, 2pm = 14, etc.