Last month's rent will be applied to whatever the last month of the lease is Once 30 days notice is received  the "last month" is officially established So if you get notice by Jan 29th that they are moving out Feb 28th  then Feb 28th is the last month's rent