Does anyone know if it's possible to do something like reading the actual current time off the computer/device, in order to track the amount of time that has passed between plays (while the game was off)? For Android devices and maybe desktop browsers (Facebook?) specifically.
I want to do something similar to games like Farmville, where real time has an effect in the game, and things can be simulated to have happened while you were away.
If I can read the real time, then I should be able to save that along with everything else, and when the game is loaded back up later I can compare the current time/date to the last time/date to figure out the time passed.