Tuesday, December 30, 2008

SalesForce DateTime Webservice Partner API

SalesForce DateTime Field is Saving in GMT Format

Convert your DateTime value to GMT prior to saving it Like following for PST:
Sample Lead generation Date and time for sql server:

CONVERT(VARCHAR(23),cast(DATEADD(hh,8,a.LeadGenDateTime) as datetime), 126)+'-00:00'


No comments: