When was the United Nations Formed?

The United Nations was not officially formed until October 1945. The events that occurred during WWII with Adolf Hitler were the catalyst for the peace keeping group forming.