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
bb tbb t 

Bug with salesforce datatime values when using the API

Hi guys,
we've found a very intersting issue with the sf API.
we are well aware of DST/Time zone and this is quite amusing..

when sending an update via the API there is a strange shift in time.

for example: 
   aa_account_date_time__c: '1945-04-12T16:22:00+00:00',
   Id: 'xxxxxcccccccccccccc' }

above is what sent to sf..

what been shown on the sf interface is

8 minutes difference!
this is constantly been reproduced on old date, i assume its due to bad calculation from the sf side when using conversion from utc...

more , we've been able to see that if the YEAR is less then will happen.