You can remember the meaning of 那时 with this easy mnemonic:
Long time no see! I haven't talked to you since that party! How (那) much time (时) as passed since then?
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.