means At the last possible moment before it is too late. Example The mechanic arrived in the nick of time.