LT Capital Gains for Mutual Funds

How is the holding period calculated for Mutual Funds? Is it based on when I purchased the mutual fund or when the fund manager purchases individual shares for the fund? Also are Index funds calculated the same or is there a difference?