Let's see, it's not a regular use, but as with WordPress you can do everything, just one day you raise a contest and you want to show a text, a link, an invitation code that you can think of, but only until a certain date .
Well, it's sucked, all right.
You just have to use
shortcode that, involving the content you want, will have a date of disappearance, expiration, expiration, whatever you want to call it.
You just have to install it and activate it and you can use the code in this way in any part of your content:
You just have to put the date in the format "yyyymmdd" as in the example. Simple and effective.