Purchasing Stocks in Light of Ex-Dividend Date