How many years did America fight in World War Two?

The USA began WW 2 in December of 1941. The last month of WW 2 was in August of 1945 when Imperial Japan surrendered. On that basis the US was ay war just under four years.