If you’ve cancelled the apartment on time, according to the agreement, then you don’t have to pay for a full month if the resignation takes place in the middle of a month. In such a case, you only pay for the days you’ve used the apartment.