No gain . no loss. ex-div is .30.
I don't look at it the way you do. I bought stock at 10.17 before ex-div date. My adjusted price would be 9.87.
You can sell at anytime and receive the dividend.
the person who owns the security on the ex-dividend date will be awarded the payment, regardless of who currently holds the stock.
Lucky I did not buy today. I will remove this stock from my watch list!