You can remember the meaning of 现代 with this easy mnemonic:
Currently (现) in modern times, we haven't found a substitute (代) for gas yet.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.