I would suggest looking at your lease agreement to see if it specifically states it will go into month to month. If not there is probably a prevailing law on the topic that a local attorney can advise you upon. On average that is what happens when a lease ends it becomes month to month. With that a landlord needs to give 30 days notice as it seems your did. If the landlord wants to sell the property they can ask you to leave in order for them to do so.I suggest asking the landlord for additional time if possible. if they say no you can always consult a local attorney and ask them if there are any caveats in the law that may allow you to get additional time. I personally would know know of any but maybe in your area thre is something I would nt be aware of that only a local attorney can help you with. good luck