30 days is recommended by IRCC but it is not necessary.
I applied for my pgwp the same day my study permit and off campus work permit were suppose to expire. Everything went well. As long as you mail (registered mail) your documents or apply online before midnight then you are good.
Again, it...