Set:
Save every x seconds, x to Storage totalTime.
Edit: Save every x seconds, totalTime + x to Storage totalTime. (missed)
Get:
hours <- int( totalTime / 3600 )
minutes <- int( ( totalTime % 3600 ) / 60 )
seconds <- int( totalTime % 3600 % 60 )
Primitive but effective.