Legally, the writ period is, under the act, between 36 and 50 days. The Prime Minister makes a recommendation to the Governor General for the duration and the timing of the writ. It is within the same recommendation as the date of the writ that the duration is set. That's set in an order in council.
On June 15th, 2021. See this statement in context.