Investors & landlords

I have a follow-on question - if you lived in a primary residence for 6 years and then converted it to a rental property, if the market value at the time of conversion was less than the purchase price, wouldn't the basis in the property decrease to the market value at conversion?