An investor who wishes to be entitled to the dividend does not have to wait until after the record date to sell the stock; however, the investor must hold the stock until the ex-dividend date. If the investor were to sell the stock on the ex-dividend date or afterwards, the investor would still be entitled to the dividend payment. In this example, assuming that the investor purchased the stock one day before the ex-dividend date, the investor would be a stockholder on the record date. If the investor sells the stock on the ex-dividend date, the buyer of the stock would be a stockholder one day after the record date given the two stock business trading day settlement. The person that bought the stock would not be entitled to receive the dividend.