It is best to contact IRCC to inquire about this, as the guidelines tend to vary year-to-year.  A safe arrival time appears to be 30 days before the program start date.