This is explicitly stated in the book, during the initial narration about the events leading up to the sinking:
> "The Germans were winning... the war began in 1939. I was ten when it began. It was 1942..."