If you purchase a stock on its ex-dividend date or after, you will not receive the next dividend payment. Instead, the seller gets the dividend. If you purchase before the ex-dividend date, you get the dividend. The stock would then go ex-dividend one business day before the record date.
Should I buy shares before dividend?
You have to buy the shares of the company before the ex-dividend date so that you get the delivery by the record date and therefore are entitled to dividends. In case of interim dividend, the payout to the shareholders has to happen within 30 days from the date of the announcement of the dividend.
What happens if you buy a stock on the ex-dividend date?
A stock is ex-dividend if it trades on or after the ex-dividend date. If you buy a stock after it has gone ex-dividend, you will own the stock but will not get the next dividend payment for that stock. Instead, the payment will go to the person who sold you the stock.