C1idiomtimeIELTS-friendly
in the nick of time
USUK
just in time, at the last moment before it would be too late
Used in stories with a happy ending: someone arrives or acts just before it is too late.
In context
We reached the gate in the nick of time, just before they closed it.
The ambulance arrived in the nick of time, and the man survived.