In what he had written before, Paul corrected them in matters which needed to be improved upon, and now he begins to instruct them concerning the future. He first gives them a warning and then provides a prayer with the words, may the God of peace himself sanctify you wholly. These two things are indeed necessary for us. For the good deeds that we do are the result of free will, and so a man could profit from a warning. And since these deeds are also the result of grace, man needs prayer as well.
Concerning the first point he does two things: Paul first urges the Thessalonians to prepare them...selves for the coming judgment; secondly, he shows them how they should prepare themselves (5:11). In addition, he divides the first part into two: he points out a feature of the coming judgment and then he shows in what manner they ought to prepare themselves for the judgment (5:6). There is also a subdivision of the first section into two further parts that include this feature of the coming judgment and then an explanation (5:3). In the first part Paul puts to rest their concern for knowledge about the future coming, and then treats what they did know about it (5:2).
First then, Paul says it was necessary for me to write about the preceding matters because you needed to know about them. But as to the times, that is, of summer, winter, or rather of what the future times will be, it was not necessary to write. Because certain of these things are reserved for only the divine knowledge: "But of that day or hour no one knows, neither the angels in heaven, nor the Son, but only the Father" (Mk. 13:32). "It is not for you to know times or seasons which the Father has fixed by his own authority" (Ac. 1:7). "The more words, the more vanity, and what is man the better? For who knows what is good for man while he lives the few days of his vain life, which he passes like a shadow?" (Ec. 6:11). And so it is not necessary to write about this, for you yourselves know what ought to be known, that the day of the Lord will come like a thief in the night.
Source: Commentary on 1 Thessalonians