how do I put todays date in an customized message ...
# ask-stanley-ai
a
how do I put todays date in an customized message for emails
c
AI generated answer (using internal Slack threads):
To insert today's date in a customized message for emails in NetSuite, you can use the Freemarker syntax. Freemarker is a template engine that NetSuite uses for its Advanced PDF/HTML templates and email templates. Here's how you can do it: 1. If you're using an email template, you can insert the current date using the following syntax:
${.now}
. This will insert the current date and time. If you want to format the date, you can use the
?string
built-in. For example,
${.now?string["yyyy-MM-dd"]}
will format the date as "yyyy-MM-dd". 2. If you're using a saved search email, you can try using
{today}
in the subject field. However, please note that this might not work in all cases as some users have reported issues with this method. Remember to replace the date format "yyyy-MM-dd" with your desired format. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.835347593
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.830053389
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827564478
Please provide your feedback on this answer.