I was just told the same thing... You can sell your shares after the dividend date and still get the dividend