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.
setDateTimeValue Function
Has anyone used this to successfully set a Date/Time field to their local date/time. When I try it just defaults to the Server timezone
var now = new Date(); newRec.setDateTimeValue('custrecord_bsb_date_field',nlapiDateToString(now,'datetimetz'), 31); 0