How the last day to buy is worked out
Indian stock exchanges settle equity trades on a T+1 basis: shares you buy today reach your demat account on the next trading day. A company pays a dividend, bonus or split benefit to shareholders whose names are on its register on the record date. Since T+1, the ex-date and record date are usually the same day.
So you must buy at least one trading day before the record date. The checker steps back one day from the record date and skips weekends and exchange holidays. If the record date is a Monday, the last day to buy is the previous Friday.
Can I sell on the record date?
Yes. If you already held the shares, selling on the record date still keeps you eligible, because the shares leave your demat only on the next trading day.
When is the dividend paid?
Under the Companies Act, a declared dividend must be paid within 30 days of declaration. Interim dividends usually reach bank accounts within two to three weeks of the record date.