What are dividends?
A dividend is a payment made by a corporation to its shareholders. If you’re a shareholder, you can think of a dividend as your share of the company’s profits.
You will be eligible for dividends If you’ve purchased the stocks before the ex-date. If you've purchased the shares on or after the ex-date, you will not be eligible for the dividend. Refer to this article for more info on eligibility.
Refer to this chapter on Varsity for a detailed explanation on dividends.