<?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 Re: Between/AND check and pass the value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310666#M81772</link>
    <description>&lt;P&gt;Does this help you?&lt;/P&gt;&lt;P&gt;If so, thank's to mark your case as solved (Kudos also accepted).&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jun 2018 09:10:20 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2018-06-25T09:10:20Z</dc:date>
    <item>
      <title>Between/AND check and pass the value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310660#M81766</link>
      <description>&lt;P&gt;I need to check the column DATE is between 2017-01-01 and 2017-12-31. If YES, then i should pass the value as 1 to the output field. How can i do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i gave &amp;lt;= and &amp;gt;= in tMAP, its not accepting.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 09:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310660#M81766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-23T09:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Between/AND check and pass the value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310661#M81767</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;PRE&gt;TalendDate.compareDate(row1.yourDateField, TalendDate.parseDate("yyyy-MM-dd", "2017-01-01"), "yyyy-mm-dd") &amp;gt;= 0 &amp;amp;&amp;amp;
TalendDate.compareDate(row1.yourDateField, TalendDate.parseDate("yyyy-MM-dd", "2017-12-31"), "yyyy-mm-dd") &amp;lt;= 0&lt;/PRE&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 10:39:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310661#M81767</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-06-23T10:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Between/AND check and pass the value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310662#M81768</link>
      <description>&lt;P&gt;error. Input date field is string. Please suggest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, why its very complicated in talend just to compare two date.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 10:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310662#M81768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-23T10:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Between/AND check and pass the value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310663#M81769</link>
      <description>&lt;P&gt;The example I gave you works fine for me.&lt;/P&gt;
&lt;P&gt;Share your piece of code.&lt;/P&gt;
&lt;P&gt;The date comparison is not "complicated" due to Talend but to Java.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 10:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310663#M81769</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-06-23T10:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Between/AND check and pass the value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310664#M81770</link>
      <description>&lt;P&gt;OK..&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I just changed the field name from your code given and ran.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tMap.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ly81.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131361i02D75CE7FAB0F828/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ly81.jpg" alt="0683p000009Ly81.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.jpg" style="width: 997px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ly15.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149276i560D9EFBA929908D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ly15.jpg" alt="0683p000009Ly15.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 11:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310664#M81770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-23T11:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Between/AND check and pass the value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310665#M81771</link>
      <description>&lt;P&gt;EncounterActivityDate field seems to be a String but should be a Date.&lt;/P&gt;&lt;P&gt;Have a look to&amp;nbsp;&lt;SPAN&gt;TalendDate.parseDate to convert from String to Date datatype.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jun 2018 11:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310665#M81771</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-06-24T11:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Between/AND check and pass the value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310666#M81772</link>
      <description>&lt;P&gt;Does this help you?&lt;/P&gt;&lt;P&gt;If so, thank's to mark your case as solved (Kudos also accepted).&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 09:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Between-AND-check-and-pass-the-value/m-p/2310666#M81772</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-06-25T09:10:20Z</dc:date>
    </item>
  </channel>
</rss>

