I need help with my code. Howe can I make the text to display certain time.

currentTime is not updated in the while loop.

Why use a while loop in the first place when the loop() function does what its name implies.