[SOLVED] need help with second counting algorithm

I wanted to be able and have an event that would completely clear the display and show the seconds tick off for some pre-determined duration (currently 30 seconds).

OK. I was thinking that you wanted to show hours and minutes for 30 seconds, then show seconds (counting up) for 30 seconds.