Yeah, just need to call your broker to see how many days it takes from the buy to be "on record". I know that for TD it's 3 days, so the buy needed to be on Monday.
Best thing to do is call your broker to see what day you would have needed to buy the stock to be "on record" with the company for the dividend since they are the ones responsible for settling shares.