Just take them, they last for along long time. It's antibiotics and shit you gotta worry about expiring. I just took some 5 year old codiene and it works wonders. Don't worry about it.

PS. Codiene syrup is a dream, I got ear infections all the time when I was a little kid, I wish I knew about this stuff then!!!