Hi, all, i need some conceptual help.
This is for an "incremental game" (clicker game) prototype : the kind where you do something and it takes 20 seconds to complete, or you get +9 metal per second.
In these games, you make progress even while you are *NOT* actively playing.
I do *not* want to use "getmilliseconds()" for this, since users might close and reopen the app, and i want the actual time elapsed since they last played.
So AppGameKit reports time and date like this:
09:01:52
2017-05-10
I can't wrap my head around how to calculate the difference in time (base 24/60/60) ,
and then the date is even worse, with variable-length months...
I googled this, and found lots of ways to do it using built-in commands in other languages, but nothing about how it's actually *accomplished*
so, insight?
Thanks!
Bob