What is the deadline for joining a team?

Is there an absolute last day that a member can join a team?

It seems like as long as they join and log all their rides (up to seven days prior) before 12am June 1st then there is no deadline.

Can someone clarify this for me?

Thank you,