Click to See Complete Forum and Search --> : counting time elapsed
ZanM
Jan 18th, 2000, 10:45 AM
i need to count the time elapsed from a starting point and i can't remmember the interval to set a timer to, to get a minute ever 60 times around anybody know
------------------
SomeTimes Coffee Just Isn't Enough.
Zan Magi
DiGiTaIErRoR
Jan 18th, 2000, 01:56 PM
timers aren't always right it'ld be better if you got the time(then) then compare it to the current time(now) then get the difference
like;
started at:
12:30 P.M.
Current:
1:00 P.M.
you'll have to use 24 hour time though unless you want A LOT of code
------------------
DiGiTaIErRoR
MicahCarrick
Jan 18th, 2000, 02:06 PM
If you must use a timer ... interval is in milliseconds therefore 1000 represent one second.
Maartin
Jan 18th, 2000, 04:11 PM
If you dont want to use the standard VB timers, which tends to be not 100% acurate try the High Performance timers from CCRP.
Mail me and i'll mail you the file.
But yes you have to set the timer interval to 60000 to get 60 secs.
------------------
-----------------------
Maartin
dinamite@onwe.co.za
-----------------------
ZanM
Jan 18th, 2000, 08:29 PM
thanks guys I didn't want to use time but i may yet if the timer doesn't work well enough
------------------
SomeTimes Coffee Just Isn't Enough.
Zan Magi
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.