Hey,
I'm new with Macro rules.
I want to create a condition in the Macro rules that ask if today's date equal to the last modified date of the order + 7 days Meaning is today's date is a week after the last modified date of the order..
How do i write the + 7 days in K#? {_is}CurrentDateTime = Contact.ContactGlobalContact.Orders.LastItem.OrderLastModified + 7 days
thank you
Hi,
this code will return you correct days + 7: {% OnlineMarketingContext.CurrentContact.Orders.LastItem.OrderLastModified.AddDays(7) |(identity)GlobalAdministrator%}
{% OnlineMarketingContext.CurrentContact.Orders.LastItem.OrderLastModified.AddDays(7) |(identity)GlobalAdministrator%}
Thank you
No problem just mark answer as correct so it is easier for other... do that on other questions also.. :)
Please, sign in to be able to submit a new answer.