Hi Experts,
We are looking to set up a variable in ACS (using a content block) to deliver an email that directly references the date/time an email was sent. Is it possible to reference the send time in the email?
If they use JavaScript to call out the current date, if someone views the email as a web page, the code will run live and return the date/time that the user is viewing the email.
Thanks,
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @RRafiki ,
In classic, to achieve this use case we will be using the below script.
<%= formatDate(new Date(), "%2D-%2M-%4Y %2H:%2N:%2S") %>
<%= formatDate(new Date(), "%2D-%2M-%4Y") %>
Try this in ACS, Hope it might work.
Views
Replies
Total Likes
Hi @RRafiki ,
In classic, to achieve this use case we will be using the below script.
<%= formatDate(new Date(), "%2D-%2M-%4Y %2H:%2N:%2S") %>
<%= formatDate(new Date(), "%2D-%2M-%4Y") %>
Try this in ACS, Hope it might work.
Views
Replies
Total Likes
Hi @RRafiki,
Was @ParthaSarathy's solution helpful to resolve your query? In case it was helpful, then kindly choose it as the 'Correct Reply'. If not and you still need more help, then do let us know.
Thanks!
Views
Replies
Total Likes