A special timer variable has been provided to make timekeeping easy.
You can reset it using this block.
Here is some sample code that displays how long the player lasted, then stops all the actors' movement and code: