I can't just add millis(value) to the code, I have to input certain code so the arduino understands what millis is and what it does?
The BlinkWithoutDelay example does almost exactly what you want, but instead of changing the state of an output when the period ends print the appropriate text instead.