Without seeing the documentation that was signed it is difficult to answer specificallly, but based on your recitation of facts it apepars that the landlord would have been required to give you thirty days notice. Call an attorney and set up an appointment.
This information is provided for general informational purposes and is not intended as legal advice. An attorney licensed in your jurisdiction can answer questions specific to your specific fact situation and provide you appropriate advice as necessary based on the specific facts of your matter and the jurisdiction in which you reside. If you are in Arizona and interested in discussing your matter further I can be reached at: (480) 838-9000 Mark D. Fullerton, P.C. 1839 S. Alma School Road, Suite 275 Mesa, Arizona 85210
I agree with attorney Campbell. As a month to month tenant, you are entitled to 30 days written notice coinciding with the date of your monthly agreement. So if your agreement was for payment on the first of the month and you didn't receive notice until the tenth of the month, you would not be required to vacate until 30 days after the first day of the following month.
You indicated that you signed a second agreement after the six-month lease expired. Review it carefully to confirm it didn't alter the standard notice requirements.
Please note that I am answering this question as a service through Avvo but not as your attorney and no attorney-client relationship is established by this posting. An attorney-client relationship can only be established through signing a Fee Agreement and paying the necessary advanced fees.