RE:Dividends
To be eligible to the dividend payable at the end of this month you had to buy the shares yesterday or earlier.
You could sell them today and still get the dividend.
The key to receive the dividend is to own them at the end of business the day preceeding the ex-dividend date.