Timer using millis()

Are you saying that 5 - 4294967290 = 10, amusing that they are all unsigned long?

4294967290 is functionally equivalent to -5.

5 - (-5) = 10 using my calculator.