Editor's note: The following are questions received from viewers of "Mad Money," seen every day at 6 p.m. EST on CNBC.I am looking at a stock that has a dividend ex-date in July. Did I already miss the boat? -- Shaun from Arizona Jim Cramer: That all depends, on which date in July we're talking about. You need to be holding a stock at the close of trading on the day before the ex-date, to qualify for any regular cash dividend. You can then sell the stock on the ex-date itself, and still receive the payment, even though it usually is not paid for a few weeks later. Want more Cramer? Check out Jim's rules and commandments for investing from his latest book by clicking here.