The record date is when the registry closes its database to determine who is eligible for the dividend this usually takes place 1 day after the Ex-Date. This is mainly relevant for the registry as it is the official day your stock settles T+2. Example if you buy the stock the day before the Ex-Date it will settle T+2 and the record date will be the same date as your official settlement date.