No person shall be convicted of any offense unless he had attained his 13th birthday at the time the offense was committed.