Buying Before Ex-Dividend Date: You are eligible for dividends if you buy shares before the ex-dividend date.
Selling on Ex-Dividend Date: If you sell shares on the ex-date, you are still eligible. Dividends will be credited to your primary bank account, as the settlement cycle is T+1 working day.
Record Date: You must hold shares on the record date to receive dividends.
Not Eligible:
Buying on Ex-Dividend Date: You are not eligible for dividends if you buy shares on the ex-date.