State variables and millis help.

currentMillis or an equivalent name for me too for the reasons that Robin has outlined. Apart from anything else, using a meaningful name makes the program more readable as in
if (currentMillis - startMillis >= interval)but as in many things it is a matter of personal preference.