It is to be noted, however, that in this place, On the twenty-fourth day of the ninth month in the second year, it is not said, as it was above for the third time, The word of the Lord came in the hand of Haggai the prophet, but to Haggai the prophet. For there — because he was still making progress and had only clean works, but his heart had not yet received full wisdom, or because he still dwelt among those who said, The time has not yet come for the house of the Lord to be built — the word of the Lord came only in his works. Here, however, since the foundations of the temple have now been l...aid, and the people with its rulers has entered the house of God and is doing work befitting the temple of God, and has heard the mystery, I will move all the nations, and the one desired by all the nations shall come, and is full of prophecy, therefore the word of the Lord comes wholly to Haggai. Of the twenty-fourth day and the second year we have already spoken. The number of the ninth month, which is added here, is never read in a good sense. The people sacrifices the Passover and celebrates other festivals; every solemnity of theirs ends on the eighth day and does not reach the ninth. Those who prepare the Passover lamb begin to prepare it when the ninth day is past. The day of propitiation and expiation of the seventh month, too, is celebrated after the ninth day. And in Jeremiah, as will be plain to those who read, Jerusalem is besieged by the Babylonians in the ninth year. Since, therefore, the prophecy was to concern the uncleanness of the people, for that reason the ninth month is joined to the second year of Darius. Again, because room is given for repentance after the rebuke of uncleanness, the word of God comes to Haggai the prophet on the twenty-fourth day, so that, as if in the person of the Lord, he may put to the priests a question arising from the law; and it is said to him: Ask the priests the law, saying.
Source: Commentary on Haggai