sakanabar
06-20-2003, 12:42 AM
Hi,
I am trying to make a timer in eVB. I have the timer increasing from 0 to 100000msec. Now inorder to present it as text (minute:second:millisec), I need to extract the last 3 digits (<--- how do i do that?) and give the condition,
if millisec is> 999, increase second by one
and extract middle 2 digits and provide conditions
if second is >59 then increase the minute
I do not know how to extract the last digits from the timer.
I this the only way the time can be displayed or is there a more simpler way. I do need to accuracy of atleast 10msec. Thanks
Any suggestions/comments will be appreciated.
I am trying to make a timer in eVB. I have the timer increasing from 0 to 100000msec. Now inorder to present it as text (minute:second:millisec), I need to extract the last 3 digits (<--- how do i do that?) and give the condition,
if millisec is> 999, increase second by one
and extract middle 2 digits and provide conditions
if second is >59 then increase the minute
I do not know how to extract the last digits from the timer.
I this the only way the time can be displayed or is there a more simpler way. I do need to accuracy of atleast 10msec. Thanks
Any suggestions/comments will be appreciated.