-
before it goes ex-dividend,
-
you get--you have to pay a higher price, but you get the dividend.
-
If you wait until the next day,
-
you pay a lower price but you don't get the dividend.
-
Unless there are some tax effects, which might matter--
-
and taxes always complicate things--but disregarding tax effects,
-
it doesn't matter which you do.
-
In fact, there's a rule,
-
FINRA, which licenses stockbrokers,
-
tells their people, you must not sell dividends;
-
they're referring to a bad practice
-
that some unscrupulous stockbrokers occasionally do.