The Dink Network

Reply to Re: Is there a count up timer?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 17th 2009, 07:17 AM
pq_water.gif
flood
Peasant He/Him New Zealand
 
Firstly why would you want a count up timer? just out of curiosity

and it should be easy enough to alter a countdown timer to count up, just change whatever the timing variable is to += 1 instead of -= 1 and make sure that the minutes tick over every sixty seconds using an if statement like.
if(&sec >= 60)
{
&min += 1;
&sec -= 60;
}