What is the significance of the ex-dividend date?

What is the ex-dividend date and why is it significant for dividend investors?