All prosecutions under this Act shall be commenced within six months from the time such offense was committed and not afterwards.