Question: how much time do i have to reinvest capital gains?
Answer: The law allows what is known as a 1031 exchange, which allows you to buy new property with the proceeds of your sale. In order to do this, you have to close on a new property within 180 days after you close the sale on your old property. As long as you do this, you can avoid the tax hit.