In one of the platforms that is not WordPress I saw

In one of the platforms that is not WordPress I saw a feature that was pretty neat. It was a section that could be turned on or off and it allowed the developer to have various banners that could be activated by date and time. In the images I attached you will see it when active and when not activated.
Is there any plugin that does this? Is there a way to create this in a WordPress site?
I was asked for a theme to enter and put Random Theme meaning hopefully if this was available it could work on various themes.