<?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 Filtering data using a date field (from SalesForce) = today date in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228984#M20078</link>
    <description>Hello, 
&lt;BR /&gt;I'm a beginner in Talend... 
&lt;BR /&gt;What i want to do is simple, i want to make a filter based on a date field (LastModifiedDate) from SalesForce... 
&lt;BR /&gt;My selection will only contain records which where modified today...&amp;nbsp; 
&lt;BR /&gt;In tmap i added this filter : 
&lt;BR /&gt;TalendDate.getDate("YYYY-mm-dd")=TalendDate.formatDate("yyyy-MM-dd",row1.LastModifiedDate) 
&lt;BR /&gt;And each time i try i got : "the left side of an assignment must be a variable"... 
&lt;BR /&gt;I do really have a problem with syntax... can you help me ? 
&lt;BR /&gt;My whish, something simple 
&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;</description>
    <pubDate>Sat, 16 Nov 2024 10:49:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:49:32Z</dc:date>
    <item>
      <title>Filtering data using a date field (from SalesForce) = today date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228984#M20078</link>
      <description>Hello, 
&lt;BR /&gt;I'm a beginner in Talend... 
&lt;BR /&gt;What i want to do is simple, i want to make a filter based on a date field (LastModifiedDate) from SalesForce... 
&lt;BR /&gt;My selection will only contain records which where modified today...&amp;nbsp; 
&lt;BR /&gt;In tmap i added this filter : 
&lt;BR /&gt;TalendDate.getDate("YYYY-mm-dd")=TalendDate.formatDate("yyyy-MM-dd",row1.LastModifiedDate) 
&lt;BR /&gt;And each time i try i got : "the left side of an assignment must be a variable"... 
&lt;BR /&gt;I do really have a problem with syntax... can you help me ? 
&lt;BR /&gt;My whish, something simple 
&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228984#M20078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data using a date field (from SalesForce) = today date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228985#M20079</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;Try this expression: 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;TalendDate.getDate("YYYY-mm-dd").equals(TalendDate.formatDate("yyyy-MM-dd",row1.LastModifiedDate))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 04 Feb 2016 07:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228985#M20079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-04T07:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data using a date field (from SalesForce) = today date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228986#M20080</link>
      <description>Yes this seems great... thanks a lot... 
&lt;BR /&gt;Now my problem is : the processe will read all the rows of the source table... and will not let anything goint thrue tmap (date formating problem ??) 
&lt;BR /&gt;Maybe it would be better to put the equivalent in the query condition directly in the tSalesforceInput... but the syntax is one more time different ... 
&lt;BR /&gt;Would you help me again ? 
&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; 
&lt;BR /&gt;I already do a lot of thing with Talend, it's an incredible soft, love it 
&lt;IMG id="smileywink" class="emoticon emoticon-smileywink" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;</description>
      <pubDate>Thu, 04 Feb 2016 07:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228986#M20080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-04T07:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data using a date field (from SalesForce) = today date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228987#M20081</link>
      <description>If i put in query condition : 
&lt;BR /&gt;"SkuUpdDate__c='2016-02-04'" it works perfectly... 
&lt;BR /&gt;what should i put instead of '2016-02-04' to get today's date ? something like get date ect.... 
&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Thu, 04 Feb 2016 11:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228987#M20081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-04T11:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data using a date field (from SalesForce) = today date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228988#M20082</link>
      <description>I found the main problem : the Lastmodified date is stored like this (in SalesForce) :"yyyy-MM-dd'T'HH:mm:ss'.000Z'"
&lt;BR /&gt;What conversion shall i do to this field to get : mm-dd-yyyy ... would be perfect... as a string maybe ?
&lt;BR /&gt;Same question for getdate() to get todays date... as a string too ?... (same type the last modified date) to be able to compare the two.</description>
      <pubDate>Fri, 05 Feb 2016 07:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228988#M20082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-05T07:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data using a date field (from SalesForce) = today date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228989#M20083</link>
      <description>&lt;P&gt;Hi team write lastmodified date = getdate-1 in tsalesforce component under query condition.Please help me out .I am getting below error if i use condition. It is very critical&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 08:07:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228989#M20083</guid>
      <dc:creator>NNekkanti1658462243</dc:creator>
      <dc:date>2023-02-13T08:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data using a date field (from SalesForce) = today date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228990#M20084</link>
      <description>&lt;P&gt;@Navyasri Nekkanti​&amp;nbsp;, can you try to query the lastmodified date field from Salesforce and see what's the date format is retrieved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 08:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228990#M20084</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-13T08:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data using a date field (from SalesForce) = today date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228991#M20085</link>
      <description>Hi Shong,
Thank you for response

Date Format : 2019-03-01 00:23:11.000

Regards
N Navyasri
Engineer</description>
      <pubDate>Mon, 13 Feb 2023 08:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228991#M20085</guid>
      <dc:creator>NNekkanti1658462243</dc:creator>
      <dc:date>2023-02-13T08:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data using a date field (from SalesForce) = today date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228992#M20086</link>
      <description>&lt;P&gt;The lastmodified date contains date and time part, you only want the date part =currentDate-1?, eg:&lt;/P&gt;&lt;P&gt;​"...where lastmodifieddate='2023-02-12'"&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 08:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228992#M20086</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-13T08:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data using a date field (from SalesForce) = today date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228993#M20087</link>
      <description>Date and datetime,both are fine


Sent from Mail&lt;&gt; for Windows&lt;/&gt;</description>
      <pubDate>Mon, 13 Feb 2023 08:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228993#M20087</guid>
      <dc:creator>NNekkanti1658462243</dc:creator>
      <dc:date>2023-02-13T08:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data using a date field (from SalesForce) = today date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228994#M20088</link>
      <description>&lt;P&gt;@Navyasri Nekkanti​&amp;nbsp;, please refer to the salesforce developer &lt;A href="https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_dateformats.htm" alt="https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_dateformats.htm" target="_blank"&gt;documentation&lt;/A&gt;, you can try to use the date literal YESTERDAY in the condition field. eg:&lt;/P&gt;&lt;P&gt;"LastModifiedDate=YESTERDAY "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try and let me know if it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 08:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filtering-data-using-a-date-field-from-SalesForce-today-date/m-p/2228994#M20088</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-16T08:07:18Z</dc:date>
    </item>
  </channel>
</rss>

