Expand my Community achievements bar.

Join us for the Adobe Journey Optimizer Community Q&A Coffee Break on 28th February at 8 am PT with Ariel Sultan, Daniel Wright, Josee Haeley and Rohit Basuri.
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!