All the Israelites came together to where King Solomon was. It was at the time of the Feast of Booths. The feast was held in the month of Ethanim. That’s the seventh month.
“The seven days of the feast begin on the 15th day of the seventh month. During those days the prince must provide the same sin offerings, burnt offerings, grain offerings and olive oil.”