in a workflow, what's the formula to set a field a...
# ask-stanley-ai
a
in a workflow, what's the formula to set a field action for a Date Time field to Today and now?
c
AI generated answer (using internal Slack threads):
In a NetSuite workflow, to set a field action for a Date Time field to Today and now, you can use the
{now}
formula. This formula will return the current date and time. If you want to set the field to the current date only, you can use the
{today}
formula. If you want to set the field to the current time only, you can use the
nlapiDateToString(new Date(), 'timeofday')
formula. Please note that these formulas are used in the context of a workflow action to set field value. ****** 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.858236432
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.84209305
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.838086903
Please provide your feedback on this answer.