This is best way I seen :
1, make a timer variable call "Time".
2, after game start, created a timer that expired in 9999 seconds (this timer is "Time".)
3, you can read elapsed time on "Time" variable at any time, and use it as "time passed" in your game.