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
23 Answers

Hi,

For an individual field, you can use this:

?string("dd/MM/yyyy")

Alternatively, adding this at the tope of your template should set the default string format for dates:

<#setting date_format="d MMM yyyy">

Thanks,

Chris

Advanced Answered on July 10, 2023.
Add Comment

Your Answer

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