I used the following AMPSCRIPT to get the date and time displayed on the email at the time of send:
Code block:
<!-- date/time -->
%%[
VAR @today
SET @today = SystemDateToLocalDate(Now(1))
]%%
Inline code :
%%=FormatDate(@today,"d MMMM yyyy à ", "HH'h'mm","fr-FR")=%%
The date and time are displayed correctly on the email once it is received. However, when clicking on View Online, it is another date and time (an older one, like 2 days before...).
Is that normal ? Is there anything we can do to display the same date/time on the View Online page ?
Thank you
Regards
Ludivine