A ticket has to be filed within 5 days of being issued. This doesn't include weekends and holidays. Unless there is "good cause" for not being filed, the ticket shall be dismissed if not filed within that time.
5 days, excluding weekends and holidays. Holidays are days that are recognized by the jurisdiction in which the ticket was issued, and generally these holidays are days when the courts are closed. It's best to review the holidays prior to using the 5-day rule as a defense.