ancient times
古 (Gǔ) · 5 strokes
Depicts a shield. Based on the original meaning "firm, solid", which is now written as 固. The current meaning "old" is a phonetic loan.
代 (dài) · 5 strokes
Phonosemantic compound. 亻 represents the meaning and 弋 represents the sound.