Compare times as integers