You can remember the meaning of 时机 with this easy mnemonic:
If I had a time (时) machine (机), I would go back to the fortunate timing when I met the girl of my dreams and ask for her number.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.