To me only the second sentence contains the idea of "in time". For the idea expressed by the first sentence, I would say "on time". "in time" followed by something else might be a different story ("in time for", "in time to").
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.