Either set a daemon to watch for the_time suddenly dropping, or put such a watch in the game's TimePasses routine.