Is it legal to "prorate" rent by dividing by 30 instead of 31?

This attitude is why so many lanlords sucessfully screw their tenants. Tenants have rights and in most states landlord/tenant law favors the tenant. Check your state laws.