If you buy a stock during after hours trading on the day before it goes ex-dividend, do you get the dividend?

5 answers 5