Doesn't affect what I stated re: who gets the dividend.
Again, courtesy if Wikipedia:
"The ex-dividend date is two business days prior to the record date. To be a stockholder on the Record Date you must purchase the stock before the ex-dividend date. The latest date you can buy the stock to be a stockholder on record and be entitled to the dividend would be one day prior to the ex-dividend date to allow for the three stock trading day settlement of the stock purchase. If you purchase the stock the day before the ex-dividend date you would be a stockholder on the record date and would be entitled to receive the dividend payment."