Dividends are paid to shareholders listed on the company’s records as of the record date. To qualify, shareholders must buy the stock at least one day before the ex-date, as transactions settle the next day. Those purchasing on the ex-date are not eligible.