What years did World War II take place?

World War II took place from 1939 to 1945.