Skip to main content
New Member
Mar 21, 2023 1:40 PM UTC
Solved

Offers - Doing calculations with date attributes

Hi all, 

 

I'm researching the possibility of doing calculations with date attributes in AJO (PQL), such as creating a dynamic variable (parameter) for days left until a specific day (use case ex. = expiration date). I've found the documentation for "date and time functions" and "arithmetic functions", but am I able to apply these arithmetic functions directly to date attributes or is there some preliminary conversion that needs to be made to the dates? 

 

Specific use case: date difference ((date_1 + XX days)      ,      today)

 

Thanks in advance for any suggestions 😁

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
mdonkeAccepted solution
Level 4
Mar 21, 2023 2:44 PM UTC

Probably same topic as here

I'm not aware of a solution.
You may want to raise an idea so that Adobe considers implementing it.

3 replies

mdonkeAccepted solution
Level 4
Mar 21, 2023 2:44 PM UTC

Probably same topic as here

I'm not aware of a solution.
You may want to raise an idea so that Adobe considers implementing it.

Translate
Manoj_Kumar
Community Advisor
Community Advisor
Mar 27, 2023 12:41 AM UTC

Hello @nathankebede 

 

There is no function available to make this calculation work. You can raise an idea for Adobe to consider it in the upcoming releases.

Translate
Manoj  | https://themartech.pro
adobechat
Level 5
Mar 28, 2023 3:39 PM UTC

Can't do it at the moment, its a feature request.

Translate