Display date in yyyy/mm/dd format
Hi, we have a field in our table that we want to display in the yyyy/mm/dd format in the email. Can anyone please guide me the right syntax to display the field value in this format please. Thanks
Hi, we have a field in our table that we want to display in the yyyy/mm/dd format in the email. Can anyone please guide me the right syntax to display the field value in this format please. Thanks
Hi Yash,
Please use the formatDate API function in the Html source tab, and put your Javascript personalisation, such as <% formatDate(yourTargetDataFielddate, "%4Y/%2M/%2D") %>
http://docs.campaign.adobe.com/doc/AC/en/jsapi/f-formatDate.html?hl=formatdate
Regards
J-Serge
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.