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}
No problem Chris! Thanks a lot for suggestions 🙂
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:
- Find the section of the template code where the date is being displayed.
- Look for the code that specifies the date format, which might look something like “mm/dd/yyyy.”
- Replace “mm” with “dd” and vice versa to switch the month and day positions.
- 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.
This post was helpful. I had a similar issue where I needed to parse the first name from a full name and used${entity.custentity_cg_primary_admin?split(‘ ‘)[0]} which worked perfectly -Zaven



