Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

How to convert this Real time emailer code in "<%= formatDate(rtEvent.ctx.balance_date, "%2M/%2D/%4Y", "Etc/GMT")%>" in the AJO

Avatar

Level 2

How to convert this Real time emailer ACC code "<%= formatDate(rtEvent.ctx.balance_date, "%2M/%2D/%4Y", "Etc/GMT")%>" in the AJO?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

You can use it on the following lines 

{% let d = formatDate(toDateTime(<balance_date>, "Etc/GMT"),"MM/dd/YYYY") %}
{{d}}

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/content-management/personalizatio... 

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

You can use it on the following lines 

{% let d = formatDate(toDateTime(<balance_date>, "Etc/GMT"),"MM/dd/YYYY") %}
{{d}}

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/content-management/personalizatio...