Effective date of membership cancellation

Hi there, if my next payment is on 16.10., but I will apply for membership cancellation today, what will be effective date of cancellation - today or 16.10.?