Yes, but it's based on the national code. The provinces take the national code and adjust it for their own context. The code changes first at the national level, and then it trickles to the provinces. In some cases, even the city can have its own. For example, Vancouver has its own independent building code.
On November 6th, 2017. See this statement in context.