Chocolates stay fresh for around 9 months but some types of Chocolates may only stay fresh for as long as 6 months.
Chocolate is still safe to eat even if it's no longer fresh but it just won't taste as good.
If you want to get the best taste from chocolate eat it within 6 to 9 months but it will still be okay to eat past that.
You can keep chocolates fresher longer by refrigerating or freezing the chocolates and it will also keep the chocolate from melting in the summertime too.