RE: How to change email template date format

change date format from mm/dd/yyyy to dd/mm/yyyy in netsuite email template

Original-${transaction.trandate}

 

Maira S Beginner Asked on July 10, 2023 in SuiteScript.
Add Comment
21 Answers

Thanks Chris for response!

But with  this ${transaction.trandate?string(“dd/MM/yyyy”)}

I am getting following error

The template cannot be saved due to the following errors:
Syntax error in template “content” in line 3, column 46:. Encountered “style”, but was expecting one of these patterns:.
<TERMINATING_EXCLAM>
<DOT_DOT_LESS>.
“*” “?”. “??” “!”.
“T”. “(“.”)”.
Parse exception during template merging.

Beginner Answered on July 10, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.