puggz said:
Im already in canada and im going to be applying for a visitor visa.. if this application is refused how long do I have to leave the country?
What is your current status in Canada? This will help answering your question in a better way.
Generally you cannot apply for a trv (visitor visa) if you are already in Canada on a visit visa. So your application will be returned back or cancelled as you cannot apply.
A trv or a visitor visa application is only made if you are outside of Canada which allow you to travel towards Canada and enter as a visitor. In some cases trv is applied within Canada but it is also for the purpose to authorize your return back to Canada NOT to extend your stay in Canada.
So giving more information about yourself will help you get a better advice.
Hope it helps