Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Extract time from date time field and store result as time
Hi There
There is a native field on a case management form called {datecreated}
I was wanting to extract only the time portion of the value in this field and store it into a custom field set up as a date time field
I have used the formula TO_Char({datecreated}, 'HH24:MI') in a workflow to populate the custom field ('Time created').
However, I only get a result if I change the field type for the custom 'time created' field from 'date/time' to 'free-text'.
I need this field to be in a date time format as I want to create a support case allocation rule that evaluates whether the time is between x and y.
Tagged:
0