'in the nick of time' definitions:

Definition of 'in the nick of time'

From: WordNet
adverb
At the last possible moment; "she was saved in the nick of time" [syn: in the nick of time, just in time]