Notice has to be provided before at least one rent period. So if you provide notice to terminate on 10/15, the termination date cannot be 11/15, but any date later than 11/30. 11/1-11/30 is one rent period.