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}

 

Beginner Asked on July 10, 2023 in SuiteScript.
Add Comment
22 Answer(s)

No problem Chris! Thanks a lot for suggestions 🙂

Beginner Answered on July 11, 2023.
Add Comment

To change the date format from mm/dd/yyyy to dd/mm/yyyy in your NetSuite email template, you’ll need to edit the template’s code. Here’s a general outline of what you can do:

  1. Find the section of the template code where the date is being displayed.
  2. Look for the code that specifies the date format, which might look something like “mm/dd/yyyy.”
  3. Replace “mm” with “dd” and vice versa to switch the month and day positions.
  4. Save your changes and test the email template to ensure the date format is now displaying as dd/mm/yyyy.

Depending on the specific structure of your email template and how dates are handled in NetSuite, you may need to consult with a developer or NetSuite support for more detailed guidance on making this change.

Rookie Answered on May 10, 2024.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor