Expand my Community achievements bar.

Join us for the Community Q&A Coffee Break on May 2nd at 8 am PT with Adobe Journey Optimizer experts Robert Calangiu, Brent Kostak & Sandra Hausmann.
SOLVED

current copyright year in footer

Avatar

Level 1

Hi AJO Team!

 

I am new with Adobe Journey Optimizer, may I ask if how can I dynamically display current year on every timezone using functions of AJO.

 

here is my code but it displays "false".
{%= formatDate(now, "%4Y") %}

Thanks in advance!

1 Accepted Solution

Avatar

Correct answer by
Level 1

Hi Team,

 

In case you need, I have now the right syntax for this

{%= now.getYear() %}

Thanks!

View solution in original post

1 Reply

Avatar

Correct answer by
Level 1

Hi Team,

 

In case you need, I have now the right syntax for this

{%= now.getYear() %}

Thanks!