NElliott
01/17/2025, 3:21 PMCeligo AI
01/17/2025, 3:21 PMAI generated answer (using internal Slack threads):In NetSuite saved search, if you have a date/time field and you want to extract only the time, you can use the TO_CHAR function in your formula. This function converts a datetime type to a string type, and you can specify the format of the output string. Here is an example of how you can use it:
TO_CHAR({your_date_time_field}, 'HH24:MI:SS')
In this formula, 'HH24MISS' is the format mask. 'HH24' will give you the hour in 24-hour format, 'MI' will give you the minute, and 'SS' will give you the second.
If you want to calculate the difference in hours between two date/time fields, you can use the following formula:
(TO_CHAR({field1}, 'HH24') - TO_CHAR({field2}, 'HH24'))
This will give you the difference in hours between the two fields. If you want to get the difference in minutes or seconds, you can replace 'HH24' with 'MI' or 'SS' respectively.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
01/17/2025, 3:22 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.865405738
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.853764236
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.84723711
Celigo AI
01/17/2025, 3:22 PM