I am making a reward system for my mobile game and I was wondering how do you calculate the difference between two real world times and if the difference between times is over 6 hours, set a variable to true.
This is so that if the player returns to the game after 6 hours they can receive a reward for doing so.