You must have held the stock for more than 60 days during the 121-day period that begins 60 days before the ex-dividend date. The ex-dividend date is the first date following the declaration of a dividend on which the buyer of a stock is not entitled to receive the next dividend payment. When counting the number of days you held the stock, include the day you disposed of the stock, but not the day you acquired it.