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.
Timestamp value wrong when saving date
I am saving an XmlGregorianCalendar instance for both an update date and update time to simulate a date/timestamp. The calendar instance has a value of: 2009-04-15T14:36:39-08:00, but when it gets saved to NetSuite the value is:1970-01-01T15:36:00.000-08:00. The hour is incremented by one, i.e.:
15:36
instead of:
14:36
Anyone have any ideas on this. I thought the timezone attribute was suppose to take care of this.
0