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 Stamp for the script
Dear All,
I am now working on putting a time stamp for a free form text field by script.
the script to generate the time stamp is below.
var today = new Date(); var year = today.getFullYear(); var month = today.getMonth()+1; var date = today.getDate(); var hour = today.getHours(); hour = hour + 15;
We use +8 time zone here.
When I deploy the script, the script is "hour = hour + 16;" and the time stamp is working well.
My client just now ring me saying the time stamp is stamped 1 hour in advance.
Why will this case appear? Is it related to the Summer time or Winter Time of the US? and any way that we can prevent this?
0