in the nick of time vs inopportune

in the nick of time

prep
  • At the last possible moment; at the last minute. 

inopportune

adj
  • Unsuitable for some particular purpose. 

  • Happening/occurring at an inconvenient or inappropriate time. 

How often have the words in the nick of time and inopportune occurred in a corpus of books? (source: Google Ngram Viewer )