just in time | just in the nick of time
Meaning: If you do something just in time, or just in the nick of time, you do it just before time runs out.
- Jamie got his application form in just in time. If it had arrived a day later, it would've missed the deadline.
- I got to the station just in the nick of time and jumped on the train just as it was leaving.
She got to the exam centre just in time. She was lucky she didn't get there