|
-
November 3rd, 2009, 04:02 PM
#1
Best way for duration - time pasted
Hello, i want to ask you which is the best way to keep duration between two events for example 2 buttons press... I want the first to get the current time and the second do the same and then calculate the duration, i managed to do this but i have some problems...
if the first button is pressed 23:00:00 (hour/minutes/sec) and the second button is pressed at 01:00:00 the calculation is wrong.... i want a way to do it for any time duration from 5 seconds to 5 years (for example)... so which is the best way ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|