"We must come out of the EU on October 31," Johnson said in a speech in Wakefield in northern England.