If Joe sells his 500 shares of XYZ Inc. on the ex-dividend date in a regular way transaction,
A. The person who purchased these shares is entitled to the dividend
B. Joe would need to provide a due bill to the buyer of the shares
C. Any dividend will be shared between Joe and the buyer
D. Joe is entitled to the dividend