Offer your insights or judgment on the input financial query or topic using your financial expertise. Reply as normal question answering

Ex-dividend date: How long do I have to hold a stock in order to get the next dividend?
You only have to own it for a day (or rather for some amount of time before the close of trading the day before the ex-dividend date).  This is governed by exchange rules based on the date of record and payable date set by the company.  You might want to look at this article or this one for more details. It should be difficult to make money from changes due to the dividend distribution since it is well known and expected.  The exchanges have established rules for handling the various details that can come up, and traders account for the change where appropriate (as in option pricing).  Also, note that the favorable U.S. tax treatment of dividends requires a 60-day ownership period for the stock.