Expand my Community achievements bar.

Your voice matters! Help shape the future of Adobe Journey Optimizer by sharing your feedback.
SOLVED

How to set up the day countdown in the subject line

Avatar

Level 2

I would like to setup the countdown in the subject line, may I know which function should use? 

 

i am using below syntax , but showing error

{%= dateDiff("d",''currentTime' 00:00:01'','2024-07-31 23:59:59') %}

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@kH32323 Try along these lines and format it accordingly,

{% let d=now %}

{% let d1=2024-05-05T10:15:30Z %}

{%= dateDiff(d,d1) %}

Thanks, Sathees

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@kH32323 Try along these lines and format it accordingly,

{% let d=now %}

{% let d1=2024-05-05T10:15:30Z %}

{%= dateDiff(d,d1) %}

Thanks, Sathees

Avatar

Level 2

@SatheeskannaK 

 

thanks for your help is work now