That is true. Remember this. Always buy in two days ahead of the record date to be eligible for shares dividend.