The shortest war on record was that between the United Kingdom and Zanzibar from 9:02 a.m. to 9:40 a.m. on Aug. 27, 1896.