It's a new law, so there probably won't be any precedentially binding court rulings to look up. I suspect that your landlord is correct. Even though it's "month-to-month", I suspect that the court would find that you entered into the lease back when you moved in or, if you went month-to-month at the end of a longer lease term, when that transition occurred.