The length of your stay is determined by the Border Agent when you arrive in Canada. They typically set a 6-month period as the duration of stay depending on the type of application you present, but they may shorten or extend that time period. IRCC outlines the rules and procedures for Visitor Visas. [See IRCC: Temporary Residents - Visitors]