Use the Countdown timer web part - SharePoint
Count down or up to an event on your SharePoint page. When you add a modern page to a site, you add and customize web parts, which are the building blocks of your page. . This article focuses on the Countdown timer web part, which allows you to display a count down (or count up) to an event.