<?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: tMap comparison of two Dates in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMap-comparison-of-two-Dates/m-p/2368736#M131967</link>
    <description>Hi sabrina,&lt;BR /&gt;&lt;BR /&gt;After comparing both dates if the date table [T1] is greater than table[T2} ie we will be getting the integer value as 1 ,How to process the data after the date present in the table [T2] what condition should be written to process the data after comparing the date values to process the data greater than the data in table [T2].Where i can write a if else statement to process data&amp;nbsp;</description>
    <pubDate>Thu, 16 Feb 2017 14:34:00 GMT</pubDate>
    <dc:creator>krengan21</dc:creator>
    <dc:date>2017-02-16T14:34:00Z</dc:date>
    <item>
      <title>tMap comparison of two Dates</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-comparison-of-two-Dates/m-p/2368734#M131965</link>
      <description>&lt;P&gt;Hello Talend community ,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;i am new on talend and i have this problem ,&lt;BR /&gt;&lt;BR /&gt;I am using a tMap between two tables (Table 1 and Table 2 )&lt;BR /&gt;i am using and ID ti join between the two table &amp;nbsp;table1.id=table2.id&lt;BR /&gt;&lt;BR /&gt;But i need to add a condition on a Date , the condition is &amp;nbsp;table1.date &amp;gt; table2.date ,&amp;nbsp;&lt;BR /&gt;but when i write it like this (see picture ) on tmap it gives me an error , can someone help me please&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFLe.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151948iDFFDEDD42CFC65BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFLe.png" alt="0683p000009MFLe.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 18:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-comparison-of-two-Dates/m-p/2368734#M131965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-31T18:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: tMap comparison of two Dates</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-comparison-of-two-Dates/m-p/2368735#M131966</link>
      <description>Hi, 
&lt;BR /&gt;You can not compare date directly in tMap. 
&lt;BR /&gt;Here is a built-in method for comparing date in talend. TalendDate.compareDate(Date date1, Date date2) which return to&amp;nbsp;Integer. 
&lt;BR /&gt;The result wheather two date is the same, if first one less than second one return number -1, equlas return number 0, bigger than return number 1 
&lt;BR /&gt;Please take a look at my screenshot. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFLj.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141085iFF85267B841FACE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFLj.png" alt="0683p000009MFLj.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 01 Jun 2016 04:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-comparison-of-two-Dates/m-p/2368735#M131966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-01T04:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: tMap comparison of two Dates</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-comparison-of-two-Dates/m-p/2368736#M131967</link>
      <description>Hi sabrina,&lt;BR /&gt;&lt;BR /&gt;After comparing both dates if the date table [T1] is greater than table[T2} ie we will be getting the integer value as 1 ,How to process the data after the date present in the table [T2] what condition should be written to process the data after comparing the date values to process the data greater than the data in table [T2].Where i can write a if else statement to process data&amp;nbsp;</description>
      <pubDate>Thu, 16 Feb 2017 14:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-comparison-of-two-Dates/m-p/2368736#M131967</guid>
      <dc:creator>krengan21</dc:creator>
      <dc:date>2017-02-16T14:34:00Z</dc:date>
    </item>
  </channel>
</rss>

