<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic tSalesforceOutput vs tSalesforceOutputBulkExec for Date field : a timezone problem in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273357#M50367</link>
    <description>&lt;P&gt;Dear community,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;After having worked with Salesforce components, I conclued to this two rules :&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;When using tSalesforceOutputBulkExec : I must be sure that my Date field values are in timezone "UTC". &lt;FONT color="#008000"&gt;(&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;It feels OK to me &lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#008000"&gt;because Salesforce stores every DateTime with UTC timezone&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/LI&gt; 
 &lt;LI&gt;When using tSalesforceOutput : I must be sure that my Date field&amp;nbsp;values are in timezone "Europe/Paris" (my timezone). &lt;FONT color="#FF0000"&gt;(&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;It feels strange to me&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;My first problem here is to answer the questions below:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;When using tSalesforceOutput, 
  &lt;UL&gt; 
   &lt;LI&gt;who (Salesforce or Talend) knows my timezone ?&lt;/LI&gt; 
   &lt;LI&gt;how does it get that information ?&lt;/LI&gt; 
  &lt;/UL&gt;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;I have already tested to modified the timezone of&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;My PC&lt;/LI&gt; 
 &lt;LI&gt;My Salesforce User&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;and it didn't affect the way my Date field values had been processed...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:26:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T03:26:04Z</dc:date>
    <item>
      <title>tSalesforceOutput vs tSalesforceOutputBulkExec for Date field : a timezone problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273357#M50367</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;After having worked with Salesforce components, I conclued to this two rules :&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;When using tSalesforceOutputBulkExec : I must be sure that my Date field values are in timezone "UTC". &lt;FONT color="#008000"&gt;(&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;It feels OK to me &lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#008000"&gt;because Salesforce stores every DateTime with UTC timezone&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/LI&gt; 
 &lt;LI&gt;When using tSalesforceOutput : I must be sure that my Date field&amp;nbsp;values are in timezone "Europe/Paris" (my timezone). &lt;FONT color="#FF0000"&gt;(&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;It feels strange to me&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;My first problem here is to answer the questions below:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;When using tSalesforceOutput, 
  &lt;UL&gt; 
   &lt;LI&gt;who (Salesforce or Talend) knows my timezone ?&lt;/LI&gt; 
   &lt;LI&gt;how does it get that information ?&lt;/LI&gt; 
  &lt;/UL&gt;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;I have already tested to modified the timezone of&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;My PC&lt;/LI&gt; 
 &lt;LI&gt;My Salesforce User&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;and it didn't affect the way my Date field values had been processed...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273357#M50367</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutput vs tSalesforceOutputBulkExec for Date field : a timezone problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273358#M50368</link>
      <description>&lt;P&gt;The timezone depends on the user defined for the salesforce connection.&lt;/P&gt;&lt;P&gt;You need to get the value from the User object.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 16:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273358#M50368</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-01-28T16:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutput vs tSalesforceOutputBulkExec for Date field : a timezone problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273359#M50369</link>
      <description>&lt;P&gt;Thank you for your answer TRF,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried again to modify the Salesforce user timezone (field User.TimeZoneSidKey) with a timeZone (Asia/Hong_kong GMT+08) very different of "Europe/Paris" (GMT +01). &lt;EM&gt;I verified with Workbench, it has been well applied. I modified the user I am using for my connection.&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;U&gt;I tried to :&lt;/U&gt; get a single record from an object : ID+MyDateTimeField with a tSalesforceInput, and then without any transformation, to update the record with tSalesforceOutput.&lt;/P&gt; 
&lt;P&gt;&lt;U&gt;The result :&lt;/U&gt; I get +1hour to my MyDateTimeField as result&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So it make me think that editing the Salesforce user timezone is not the right solution...&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 18:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273359#M50369</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-28T18:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutput vs tSalesforceOutputBulkExec for Date field : a timezone problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273360#M50370</link>
      <description>Can you share the values used for the example?&lt;BR /&gt;Usually I set the timezone for the user used for integration to GMT and I convert all datetime from the original timezone to GMT before to push records to salesforce. This is usefull when records you want to load into salesforce are not aligned on a single timezone.</description>
      <pubDate>Tue, 28 Jan 2020 19:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273360#M50370</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-01-28T19:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutput vs tSalesforceOutputBulkExec for Date field : a timezone problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273361#M50371</link>
      <description>&lt;P&gt;Here is an example of a run with "Europe/Paris" configure for my Salesforce User (as for my PC): Please observe the +1hour on the datetime field value&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="No transform action, but the datetime field value changes" style="width: 420px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8w0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131605iAC0BBCC2C1601FCF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8w0.png" alt="0683p000009M8w0.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;No transform action, but the datetime field value changes&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;By the way, I have observed that my Datetime field value doesn't change when I configure my OS Timezone as "(UTC+08:00) Beijing, Congqing, Hong Kong (R.A.S.), Urumqi".&lt;/P&gt; 
&lt;P&gt;The OS Timezone seems to be very related to this case&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 10:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273361#M50371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-29T10:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutput vs tSalesforceOutputBulkExec for Date field : a timezone problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273362#M50372</link>
      <description>&lt;P&gt;Hum...&lt;/P&gt;&lt;P&gt;What when you query the value using the Salesforce Developer Console?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 10:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273362#M50372</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-01-29T10:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceOutput vs tSalesforceOutputBulkExec for Date field : a timezone problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273363#M50373</link>
      <description>&lt;P&gt;I have never used Salesforce Developer Console.&lt;/P&gt;&lt;P&gt;I will be able to do so in few days, then I will answer to you! Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 17:16:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceOutput-vs-tSalesforceOutputBulkExec-for-Date-field-a/m-p/2273363#M50373</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-06T17:16:11Z</dc:date>
    </item>
  </channel>
</rss>

