You can remember the meaning of 日期 with this easy mnemonic:
There are some dates when you can't see the sun (日) for long periods of time (期).
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.