current copyright year in footer | Community
Skip to main content
Level 1
December 28, 2022
Solved

current copyright year in footer

  • December 28, 2022
  • 1 reply
  • 1052 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JE-2

Hi Team,

 

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

{%= now.getYear() %}

Thanks!

1 reply

JE-2AuthorAccepted solution
Level 1
January 3, 2023

Hi Team,

 

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

{%= now.getYear() %}

Thanks!