The Quran says that knowledge of the Hour is with Allah alone, and that it comes upon people unawares. When the angel Gabriel asked the Prophet ﷺ when the Hour would be, he answered that the one asked knows no more than the one who asks. Instead he spoke of its signs. In a hadith in Sahih Muslim, he said that the Hour will not come until people see ten signs: the smoke, the Antichrist, the beast, the sun rising from its west, the descent of Jesus, the son of Mary, Gog and Magog, three landslides in the east, in the west and in the Arabian peninsula, and a fire that drives people to their gathering.
The Prophet ﷺ also said that when the sun rises from the west and people see it, all will believe, but that is when belief no longer helps a soul that had not believed before, and the Quran speaks of the day when one of the signs of the Lord comes. In the same way, the hadith say that Jesus, peace be upon him, will descend as a just ruler. Muslims understand these reports as true and sound, and they differ on many of the details, which is why scholars warn against forcing today's events into them.
The purpose of the signs is not to frighten or to predict, but to remind. The Quran says that every soul will taste death, and for each person the real end comes with their own death, long before the world's end. A person who spends time guessing the date has missed the point; the sound teaching is to prepare through faith and good deeds, as if the Hour could come to us today.