Out of date chocolate is not unsafe to eat unless it smells bad or maggots have grown in it.
But if the chocolate is just out of date it should not harm you because I eat out of date chocolate all the time and sometimes after Halloween I have leftover chocolates from handing them out and keep them for a few years and eat them when I want too.
Never have I gotten sick from eating the out of date chocolate so you shouldn't either.
Chocolate just looses it's freshness and good taste when it goes out of date but it doesn't mean the chocolate is bad just because it's out of date.