Jupiter Fund Management plc JUP

This asset manager manages a wide range of mutual, bond and private equity funds for retail and institutional investors.

This fund is in really good shape with an upcoming ex dividend date on the 15 April. Paying over 5.71%per share. Pay date 15 May .
It has a good track record of dividend payments and the share price hit 600p back in 2017 now with a net revenue above that level

As I’m new to investing. With dividends if you buy before the ex dividend date will you automatically get that dividend payment?
I may have this all completely wrong!