
I would like to know how can I remove 00:00:00 and display only the date.
I am editing an email with a lot of date data type fields, and those fields are displayed DD/MM/YYYY HH:mm, and I just want to display only the date.
FYI: Those fields are set by Ampscript Lookup formulas.
How can I resolve this?
Thanks in advance!
7 answers
Hi There,
If you output the date in the email then use ampcsript (https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-programmatic-content.meta/mc-programmatic-content/dateTimeFormatting.htm) to format it (https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-programmatic-content.meta/mc-programmatic-content/dateTimeFormatting.htm):
%%=Format(@datevar, "MM dd")=%%