If you sell the shares today and don't get the dividend and if you buy the shares today and don't get the dividend, then who gets them? I believe the seller does.