Originally Posted By: cemetarycat

well, since sys_seconds goes from
0 to 59...which is 1 to 60. wink

when sys_seconds is equal to 59
or even when sys_seconds changes again back to 0
update or add 1 to your variable.


@cemetarycat:

mate, he wants to count no. of seconds. ur algorithm is for updating every one minute.


A7 commercial Team / VC++ 2008 Pro
homepage | twitter | facebook