1. last possible moment
arrived/got there in the nick of time
Something done in the nick of time is done 'just on time' or at the last possible moment. This idiomatic phrase is similar in meaning to'down to the wire' or 'a close call'. The implication with this expression is that if the action hadn't been carried out on time the consequences would be bad. "We arrived just in the nick of time to see his performance." "I visited the doctor just in the nick of time."