Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
when u program like mobile phone and whne u are calling there must be a timer.
how can I do that??
Posted
Comments
Albert Holguin 19-Jul-12 11:02am    
Do you mean timer or doing timeout periods?

1 solution

traditionally, by getting the time at the start, the time at the end, and subtracting the former from the latter
 
Share this answer
 
Comments
[no name] 17-Jul-12 22:32pm    
I admire your stamina.
barneyman 17-Jul-12 22:35pm    
Albert Holguin 19-Jul-12 11:03am    
::headscratch:: ....elegant solution.... :D

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900