Anyone that holds a stock through the ex-dividend date is entitled to receive the next dividend payment  Here’s an example:  $T had an ex-dividend date of July 9th, therefore, anyone that owned shares of $T and held them past July 9th is entitled to receive the payment in August