CMS Conditional Visibility by date

Could someone help me? I have a CMS with events, and there is a registration form on the page. I need to make it so that after 5 days from the event date, Div1 with the form is hidden, and Div2 with the text is shown. In the CMS, I have a field for the event date, which I add manually.
Is it possible to set this up through Conditional Visibility? I can’t figure out how it works.


Please include your site’s Read-Only Share Link with your question.
A read-only link allows the community to view your project without making any edits to it and help diagnose your issue or provide feedback.

If your project has custom code or layout issues on the published site, please share that URL/URI as well.

Hey Alex, that looks like the right condition for Div1. For Div2, use the same filter but line 2 would be something like “Is before”.

Make sure your site timezone is set properly for your events.