We are using Talend Data Integration 6.1.1. Data source to one of the ETL is from Salesforce/TargetX.
In Salesforce, date field is seen as 2017-05-02T02:25:16.000Z but the same data using Talend's Salesforce Component, I see it as 2017-05-03T02:25:16.000Z .
As per my research so far, Salesforce is carrying all date/time values internally as GMT and then for display purposes, adjusts it to local time. GMT is 7 hours ahead of PDT. Talend doesn't seem to be handling the adjustment automatically in my case based on local server time.
Any suggestions on how to handle this ?
From Salesforce, define the connected user timezone as GMT, read the datatime value, then convert the result to the desired TZ with the appropriate Java code.
To Salesfore, define the connected user timezone as GMT, convert the datetime from the original TZ to GMT with the appropriate Java code, then load the result to Salesforce.
Hi Twelve Stars,
Thanks but It's strange, i have a date 2017-10-27 in a file, i want to load it into salesforce object with talend, but finally i obtain 2017-10-26, my time zone on salesforce is GMT-0
Ok i found a solution, all date in sf database are stored with datetime so i have to convert my date to datetime 2017-09-22T12:00:00.000Z (example) to have exactly 2017-09-22 and not 2017-09-21
Introduction to Talend Open Studio for Data Integration.
Practical steps to developing your data integration strategy.
Create systems and workflow to manage clean data ingestion and data transformation.