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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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