follow Dictionary.com
the last possible moment; a critical moment
I caught the ball in the nick of time.
1565; fr. nick 'notch'