A timer does not count.
It fires events every so often.
The interval does not really matter very much:
Your code needs a start_time , and a time_now variable
program starts, start_time is set to Now() + 8 hours
Display 08:00:00
Start your timer.
Every time the timer event triggers, time_now = start_time - Now()
Treating time_now as a double, you can divide it by 60, 60 etc to get the number of hours and minutes.
Each time the timer fires, the number of hours will go down.
Once it goes past 0, the code should still work and give you negatives.
Enter your message below
Sign in or Join us (it's free).