0

This maybe a silly question as i am totally unknown to the AMPscript.

I am trying to get date in the email body so wrote the following code, but when sent out test emails, the code was not replaced by the date. Please help.

%%=Format(Now(), "MMMM d, yyyy")=%%

Please confirm if the code is right and does this needs to be placed in some special tag or it can be put anywhere in the body

2
  • 1
    Did you wrote it in HTML / Codeblocks or in the text editor? If you have used the text editor this might be the reason why this fails. Copy that stuff to the HTML / codeblock. Commented Feb 20, 2019 at 9:59
  • I copied in the html editor inside the body tag only and saved . Commented Feb 22, 2019 at 11:44

1 Answer 1

0

I just did a test from my side and the AMPScript code works properly. The date looks like 'February 20, 2019'.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .