Avatar

Community Advisor

For email you need to use script provided in second point. Use them under

<% %> tags.

something like this:

<%

var FORMAT_120 ="%4Y-%2M-%2D %2h:%2n:%2s"
var workflowExecutionInitiatedAt=formatDate(date,FORMAT_120);

%>

and then display in email as : <%=workflowExecutionInitiatedAt%>