strictly speaking, the day you can reinvest dividend is...
on the dividend payment date, which can be a week or even 2 weeks after ex div date.
ex div date, if you own stock before it, only gives you the right or a claim to the dividend, not the actual dollar amount of dividends