You are entitled to claim split-year treatment for your income, but not for your capital gains. See the Tax Guide for the tax implications. Now press OK to return to the main screen and enter the date of arrival/departure.