Investing Club mailbag: What is an ex-dividend date and should you buy a stock before of after?

People walk by the New York Stock Exchange (NYSE) on February 14, 2023 in New York City.
Spencer Platt | Getty Images

Jim, what is your strategy to sell CSCO the day before its ex-date? I always wanted the dividend and then waited a few days to sell because the stock price always seemed to go down after the ex-date. Please advise. Do you consider the ex-date on any stock sale? Why yes or no; I need to know if I am investing correctly. — Richard F.