"On the record date, a company looks to see who its shareholders or "holders of record"
thats pretty basic. Record date is the day they officially record who "was holding the stock and who is entitled"
21st was the day they went ex and anyone could have sold them after that and still get the .5c shaers