Mag wrote:Hi Paul, I would like to create a stopwatch with a stop/start button that continue from where the timer was paused. So I have to calculate the amount of time it was paused, and add this to the start time? Seems not easy...

Mag, if I can do it, anyone can do it
I could post my code, but my timer app does lots more things so I think it would confuse you more than help you. But, here's the rough logic...
When the user starts the timer "put the ticks into tStart".
(I use ticks because my timer displays tenths of seconds.)
To display the elapsed time "put the ticks into tCurrent" and display tCurrent - tStart. You'll need to convert from elapsed ticks into whatever format you want for your display.
When the user pauses the timer "put the ticks into tPause" and when they restart "put the ticks into tRestart." tRestart - tPause is the amount of time the timer was paused, so just add this to tStart.
You can then continue to display tCurrent - tStart.
Does that help?
--paul