Storing total time app in use

I am trying to keep a running clock on total time my app is in use. Total time played if you will. I have a clock but it resets each time I open the app. It also starts at 7:00:00 and not 00:00:00.

See attached for all you need …

Clock1 Designer totalMSrunning.aia (2.1 KB)

Thank you so much for this. I am going to hopefully play around with it to display days,hours,minutes, and seconds. This should get me a lot closer. Thanks again!

Still looking for help with this. The above does track seconds but I am looking to track total time the app is in use in the forefront…Days:Hours:Minues:Seconds.

Look in the Clock component’s blocks palette.
There are plenty of blocks that can be used to format time based on milliseconds.
Look in the Gallery for apps that have search terms like stopwatch, countdown, timer, etc. to see how to get hh:mm:ss .

Here’s a sample …
https://groups.google.com/forum/#!msg/mitappinventortest/QBw5qNHEsxc/EmdKoQLMDwAJ