Let's say the rent start on 25th of each month. On June 25th, you will be officially on the hook with the landlord's liability (as May 25th, the landlord notified you that you have to move out. Given a month of notice time, you will have to move out by then).