Expression representing "Today" | Community
Skip to main content
New Participant
August 1, 2024
Solved

Expression representing "Today"

Hello!

 

how can i achieve this statement startDate since <= Today and endDate >= Today when building a custom rule for an audience in AEP?

 

Thank you!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
DavidRoss91
DavidRoss91Accepted solution
Level 2
August 13, 2024

Hi @raresro 

This should be achieved by just how you mention: pull in startDate attribute as less than or equal to TODAY and endDate attribute as greater than or equal to TODAY, in the same rule.

3 replies

DavidRoss91
DavidRoss91Accepted solution
Level 2
August 13, 2024

Hi @raresro 

This should be achieved by just how you mention: pull in startDate attribute as less than or equal to TODAY and endDate attribute as greater than or equal to TODAY, in the same rule.

Translate
brekrut
Employee
August 13, 2024

@raresro Please provide the use case you are attempting to solve for.

 

You may be able to use a dynamic segmentation rule comparing a date with 'today'.  Please refer to the following article.

 

https://experienceleague.adobe.com/en/docs/experience-platform/segmentation/tutorials/create-a-dynamic-segment

Translate
Indra-2
New Participant
August 5, 2024

What is your business use case and requirement for this, can you please elaborate

Translate