Which war continued the longer World War 1 or World War 2?

World War I lasted from 1914 - 1918, and World War II was from 1939 - 1945, so WWII continued for a longer time period.