(do something) in time to (do something else)
You use the phrase "___ in time to ___" when you're talking about an action that you have finish before a certain time, in order to do something else. For example:
I managed to make it back home in time to watch the last episode of Breaking Bad.
In this example, the action you have to finish is "make it back home". You had to do this by a certain time in order to watch the last episode of the TV show Breaking Bad.
Follow PhraseMix