Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Passing values to a library script
Hi all
I have a bit of javascript to calculate the number of working hours between dates that I want to re-use on multiple scripts.
What I need to do is pass a start date/time value and an end date/time value to the library script. This is where it goes wrong.
The library script runs but it doesnt quite work as expected - the dates that I pass seem to get muddled at the point they move to the library. It appears that the hours and minutes of the date-time become the same for both the start and end dates,