On Friday, December 10, Gatter Electric Co.'s board of directors declared a dividend of 75 cents per share payable on Wednesday, January 18, to shareholders of record as of Wednesday, January 4. When is the ex-dividend date? If a shareholder buys stock before that date, who gets the dividends on those shares, the buyer or the seller?