Does the Day of the Lord include the Tribulation?

Joel 2:31: "The sun will be turned into darkness, and the moon into blood, BEFORE the great and awesome day of the LORD comes.

Matthew 24:29: "But immediately AFTER the tribulation of those days THE SUN WILL BE DARKENED, AND THE MOON WILL NOT GIVE ITS LIGHT, AND THE STARS WILL FALL from the sky, and the powers of the heavens will be shaken..."

Joel places the triple cosmic sign before the day of the LORD. Matthew places it immediately after the tribulation. Therefore, the day of the LORD does not include the tribulation but occurs after the tribulation.