Expand my Community achievements bar.

Your voice matters! Help shape the future of Adobe Journey Optimizer by sharing your feedback.
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

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

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...