I'd like a static time indicator that counts from 0 to whatever as time passes. The game I'm making will change after a certain number of days has passed. I'm sure this is a simple question, but how I can I store the total time passed, even between launches?
So..., first launch, time = 0;
Second launch an hour later time = 60;
Third launch, a day later, time = 86460;
and so on, just assume no time was spent in the app for this example, but of course, I'd like it to keep incrementing while they app is open as well. I'd imagine I have to store a value somewhere, then compare it to the (current time - last time) and add the numbers together, but I'm not sure how to do this. Thanks.