Display element for a certain period

Hello

I am making a website for a client with Cosmetic Salon. One thing she want to have on her site is page with discount campaigns. Each would last for a certain period of time.

How can I do, to show each Campaign DIV for that specific time? That is, I would put all Campaigns on page. And let the system do it’s magic. So I would not have to wait and delete each campaign, when finished.

I am NOT using CMS on this one, as I need to export that page

I remember I saw that on Forum, but can not remember where…

Thank you,
Boštjan


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

How can I do, to show each Campaign DIV for that specific time? That is, I would put all Campaigns on page. And let the system do it’s magic. So I would not have to wait and delete each campaign, when finished.

Yes, that is possible with custom code.

Can u tell/show me how?

Unfortunately this is too broad (e.g.: not something you/I can do in 5 minutes), and the custom code will have to be tailored to your site – how your CMS is set up, as well as the structure of the elements in the design.