in the nick of time

US /ɪn ðə nɪk əv taɪm/
UK /ɪn ðə nɪk əv taɪm/
"in the nick of time" picture
1.

間一髪で, ぎりぎりのところで

at the last possible moment; just in time

:
The rescue team arrived in the nick of time to save the stranded climbers.
救助隊は遭難した登山家を救うために間一髪で到着した。
I finished my presentation in the nick of time before the meeting started.
会議が始まる前に、間一髪でプレゼンテーションを終えた。