Dynamic date in email body
I'm trying to display dynamic date in email body. I was able to get dynamic date as per below --
<%
function daysInMonth(today) {
return new Date(today.getFullYear(), today.getMonth()+1, 0).getDate();
}
var today = new Date();
%>
<%= daysInMonth(today) %> <%= formatDate (today, "%Bl") %>
I want to display the day before the 2nd Thursday of every month. I'm not sure how to do that in ACM.
I was able to display this on webpage in a simple javascript.
Can anyone please help me ?
Thanks.