 It doesn't matter if you bought partway through the year. As long as you own it on that date at the end of the year, whatever the ex-dividend date is, you're going to get hit with the gain. I have delayed buying funds for clients because we want to wait until after they issue that distribution.