Hi, I want to add a date in my HTML: not today but "today plus 30d". Anyone able to tell me the formula to add into the HTML? Many thanks!!!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Florian,
I suggest transforming the date value as additional data/enrichment before putting it in the email html by referencing additional data. You can do this by using the expression: AddDays(GetDate(),30), if you want it to be exactly one month later, then you can just use AddMonths(GetDate(),1).
Cheers,
Jamal
Hi Florian,
I suggest transforming the date value as additional data/enrichment before putting it in the email html by referencing additional data. You can do this by using the expression: AddDays(GetDate(),30), if you want it to be exactly one month later, then you can just use AddMonths(GetDate(),1).
Cheers,
Jamal
You can do it either using an enrichment as recommended above or else using a JavaScript content block.
Within the content block you also can format the date in the desired format easily