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

Expression representing "Today"

  • August 1, 2024
  • 2 replies
  • 593 views

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.
Best answer by DavidRoss91

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.

2 replies

DavidRoss91
DavidRoss91Accepted solution
New Participant
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.

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

Indra-2
New Participant
August 5, 2024

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