I think you can obtain system date/time through a plugin or simple expressions (i'm not sure about this last).
First, set the date and time in a persistent data like local storage everytime the app's closed. Then when the app is opened again, calculate the hours/days difference between current and stored time.
Sorry about my english D: