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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Time Zone Behaviour in SuiteScript
Hi
I'm hoping someone at NetSuite can clarify existing behaviour when setting the date and time on a message record created in scripting.
From experiments, I think the date and time, set in the "messagedate" and "time" fields, take on the time zone set in Setup > Company > Company Information. If this is the case, when I create a message in scripting I should ensure the date and time are first localised to this global time zone setting?
Is this correct? Will there be any change in 2011.1 with the introduction of the datetime type? I've inspected the message record in our beta but see no change.
0