At what point in time do you have to hold a share to be entitled for the dividend?

The share needs to be in your deposit on the evening of the shareholders’ meeting.