Investors & landlords

I should have been clearer with my question. I an looking to sell the property this year. Do I have to wait until October (one year after the refinance) or does that not matter with regards to long term capital gains?