We built a house last year and got occupancy in october 2017, which we then moved in. We recently got an unexpected offer to buy our home, and they want to finalize the purchase in september 2018. my question is, will we need to pay capital gains if we sell before a full year?