idiom
in the nick of time
im letzten möglichen Moment; gerade bevor es zu spät ist
Meaning
at the last possible moment; just before it’s too late
Example
He arrived **in the nick of time** to catch the train.
Er kam **im nick of time** um den Zug zu erwischen.