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!
handling date/ time in suite script
We are fairly new to NetSuite, but old hands at CRM. We have an event-driven environment, and when those events happen needs to be logged in the NetSuite system.
When accessing date/ time fields through the UI, or defaulting the fields, it is possible to say to the system that an event happened 'now', and that is modified to be 'now' in the local timezone. However, if a suite script places a call to Date(), it gets the server time, which isn't our timezone, and if it writes that value into the date field, the time shows as server time, not local time.