Originally posted by: notfred
The Timer class is for starting tasks at specified times, not keeping track of time passed.
This is what you do:
Get the current time. Let's say 2:30 and 15 seconds.
Do your task.
Get the current time. Let's say 2:31 and 8 seconds.
Subtract the original time from the new current time. 2:31:08 - 2:30:15 = 53 seconds that it took your task to run.