http://www.dca.ca.gov/publications/landlordbook/moving-out.shtml
You must give the landlord the same amount of notice as there are days between rent payments.193 This means that if you pay rent monthly, you must give the landlord written notice at least 30 days before you move. If you pay rent every week, you must give the landlord written notice at least seven days before you move.194 This is true even if the landlord has given you a 60-day notice to end the rental agreement and you want to leave sooner (see Landlord's notice to end a periodic tenancy.)195