All such prosecutions shall be commenced within 2 years from the time the offense charged was committed.

(Source: P.A. 82-965.)