While the books mention he was captain by his seventh year, the specific timeline of when he joined the team isn't given. It's assumed he would have joined in his first or second year, since Quidditch is often played in Hogwarts from the very beginning of one's schooling.
However, we can't be absolutely certain, as it's possible he joined later due to reasons not mentioned in the books.