How do I replace a lcd.print statement with another

I am trying to make a digital clock, and I need help figuring out how to remove the previous print time, and replace it with the next print time. Can someone tell me the command to replace lcd.print(“12:40”) with lcd.print(“12:41”) so that 12:41 doesn’t just appear next to the 12:40 on my lcd?

Just do an lcd.setCursor(column number, row number) back to where you want the number to start.

You may need to overwrite the original text with the background color so you dont just get two mixed on top of each other.

-jim lee