If ex div date is on the 4th, record date is on the 5th. Can I buy shares on the 3rd and sell on the 4th and still receive dividend?