Tax harvesting on Equity and Mutual Funds

I might buy stocks or mutual funds on different date. But how will I know those equities are Crossed 1 year of period (Long Term)? Then only I have to sell those stocks or mutual funds for tax harvesting and invest again?