Record date, ex-divi date etc is at best confusing!
However, I think you had to own the stock YESTERDAY to get the divi.
"The key date for dividend-paying stocks, funds, or securities is the ex-dividend date. The Record Date, or Date of Record, determines the ex-dividend date, before which an investor must own the stock in order to receive the dividend. For the investor to receive the upcoming dividend the investor must purchase the stock prior to the ex-dividend date."