Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Most oddest behavior in NetSuite with Dates
Hey guys. So sometime between first and second week of December, date field decided to misbehave.
I have a client script which fires when status changes. The script essentially sets a custom field of type date. It takes javascript date and turns it into string using this method: (date.getMonth()+1)+'/'+date.getDate()+'/'+date.getFullYear()
It worked for EVERYONE except for one person.
everyone's December single digit dates were set properly as in 12/1/2011 through 12/9/2011 EXCEPT this one person where the month and date got switched. like so: 1/12/2011 or 9/12/2011.
I've been my :h_a_w: to reproduce this. Changing NetSuite global date setting to MM/DD/YYYY , changing my personal date setting to MM/DD/YYYY, I've even tried changing my system (laptop) date setting to MM-DD-YYYY.