function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
unikevinunikevin 

GMT DateTime Error

hello,
 
I got a problem: when insert/update a datetime field if the value is less than "8:00 AM GMT+8" through AJAX Toolkits,salesforce changes it into the next day.
 
for example, if the original datetime value is "08/29/2007 7:30AM GMT+8",then  the value in salesforce becomes "08/30/2007 7:30AM GMT+8".
 
This error occurs after summer release, and I didn't change my location and timezone in Salesforce's user profile.((GMT+08:00) China Standard Time (Asia/Shanghai))
 
anyone can help?
 
thanks!
Ron HessRon Hess
if you are using the Beta3.3 toolkit i believe this is a bug in an unsupported toolkit.

please switch to the production AJAX toolkit , if your bug is in this toolkit, please file a support request and it will get reviewed / escalated and fixed.

thanks
unikevinunikevin

hello,

I am using this file "/soap/ajax/9.0/connection.js", I think it's the newest ajax toolkits and I have logged a case .

thanks a lot!

unikevinunikevin
I changed it into "/soap/ajax/10.0/connection.js" and the problem still exists...