Time and TimeAlarms Libraries – Ask here for help or suggestions

millis will wrap around after 50-odd days. It doesn't stop, or not run.

If you do subtraction that wrap-around won't matter.

eg.

if (millis () - startTime >= wantedInterval)
  {
  // do something
  }