Making group not visible after X days

I’m building a social platform where users unlock new features for completing certain events.

When a feature is unlocked, a highlight appears next to the new content.


Would love to know how to make the highlight not visible after 7 days.

Would appreciate any insights.

Capture the current date +7 (dateCaptured) when the user completes the certain event.

Then set a condition on the highlight for when current date > (dateCaptured) , highlight not visible.

Thanks, worked a treat.

Appreciate it!

This topic was automatically closed after 70 days. New replies are no longer allowed.