The Bible doesn't provide a clear answer about how time works in heaven. Revelation suggests that the New Jerusalem, where believers will dwell with God, won't need the sun or moon, indicating time may not function as we experience it on earth. Second Peter 3:8 also hints that God is not bound by time, which may suggest heaven operates outside of our time constraints. However, there are mentions of time passing in heaven, such as the souls of martyrs being aware of time in Revelation 6:10-11. Ultimately, while we don’t have full clarity, the Bible emphasizes that God is the creator of time and has prepared an eternal place for believers in His presence.
We don't know, from the Bible, what time will be like in heaven, but we do know that God established time for us. There was a beginning (Genesis 1:1), He created night and day (Genesis 1 and 2), and there are other references to God working in time. He created time, at least for us while on Earth. Much about heaven is beyond our understanding and beyond a clear description even of what John saw. We do see that God is good and that He has prepared and is preparing a good place for us to be with Him forever. Revelation 21:5-7 says, "And he who was seated on the throne said, 'Behold, I am making all things new.' Also he said, 'Write this down, for these words are trustworthy and true.' And he said to me, 'It is done! I am the Alpha and the Omega, the beginning and the end. To the thirsty I will give from the spring of the water of life without payment. The one who conquers will have this heritage, and I will be his God and he will be my son.'"