Expression representing "Today" | Adobe Higher Education
Skip to main content
August 1, 2024
解決済み

Expression representing "Today"

  • August 1, 2024
  • 2 の返信
  • 593 ビュー

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!

このトピックへの返信は締め切られました。
ベストアンサー 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 の返信

Indra-2
Community Advisor
Community Advisor
August 5, 2024

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

DavidRoss91
Community Advisor
Community Advisor
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
Adobe Employee
Adobe 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