June 7 was already the ex date, i.e. the divi had already been deducted from the price, i.e. you will still receive it. The date (time) of your sale has no influence - whether 20:00 or 16:00 - it doesn't matter. Ex day is ex day But be patient, today is payday...