No problem it's valid but if flight delay or cancel or any other problem and your visa expired, on the air port , you are not allowed to enter in Canada so they will send yoy back to your home country from the airport. So Its risky!!! Your choice
If you have one day visa left they will allow...