How to set up the day countdown in the subject line | Community
Skip to main content
Level 2
May 9, 2024
Solved

How to set up the day countdown in the subject line

  • May 9, 2024
  • 1 reply
  • 722 views

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') %}

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 SatheeskannaK

@kh32323 Try along these lines and format it accordingly,

{% let d=now %}

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

{%= dateDiff(d,d1) %}

1 reply

SatheeskannaK
Community Advisor
SatheeskannaKCommunity AdvisorAccepted solution
Community Advisor
May 9, 2024

@kh32323 Try along these lines and format it accordingly,

{% let d=now %}

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

{%= dateDiff(d,d1) %}

Thanks, Sathees
kH32323Author
Level 2
May 17, 2024

@satheeskannak 

 

thanks for your help is work now