<?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 Between dates condition in TMap Expression builder in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Between-dates-condition-in-TMap-Expression-builder/m-p/2217737#M13209</link>
    <description>Hi all, 
&lt;BR /&gt;I am new to Talend and I have a requirement where if my “date field” &amp;nbsp;falls within a range then I need to map Colum A &amp;nbsp;or else &amp;nbsp;I need to Map &amp;nbsp;column B from source to a column in destination &amp;nbsp;and I am trying to achieve &amp;nbsp;this in expression builder in tMAP &amp;nbsp;&amp;nbsp;
&lt;BR /&gt;Here is an example of what I am trying to achieve 
&lt;BR /&gt;IF start_date is between ‘01/10/2015 and 01/10/2016’ 
&lt;BR /&gt;Then Column A 
&lt;BR /&gt;Else column B&amp;nbsp;
&lt;BR /&gt;Thanks in advance&amp;nbsp;</description>
    <pubDate>Thu, 27 Oct 2016 22:09:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-27T22:09:32Z</dc:date>
    <item>
      <title>Between dates condition in TMap Expression builder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Between-dates-condition-in-TMap-Expression-builder/m-p/2217737#M13209</link>
      <description>Hi all, 
&lt;BR /&gt;I am new to Talend and I have a requirement where if my “date field” &amp;nbsp;falls within a range then I need to map Colum A &amp;nbsp;or else &amp;nbsp;I need to Map &amp;nbsp;column B from source to a column in destination &amp;nbsp;and I am trying to achieve &amp;nbsp;this in expression builder in tMAP &amp;nbsp;&amp;nbsp;
&lt;BR /&gt;Here is an example of what I am trying to achieve 
&lt;BR /&gt;IF start_date is between ‘01/10/2015 and 01/10/2016’ 
&lt;BR /&gt;Then Column A 
&lt;BR /&gt;Else column B&amp;nbsp;
&lt;BR /&gt;Thanks in advance&amp;nbsp;</description>
      <pubDate>Thu, 27 Oct 2016 22:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Between-dates-condition-in-TMap-Expression-builder/m-p/2217737#M13209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-27T22:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Between dates condition in TMap Expression builder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Between-dates-condition-in-TMap-Expression-builder/m-p/2217738#M13210</link>
      <description>&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;Hi,&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;In tMap, there is&amp;nbsp;ternary if-else operator.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;The expression is Condition?value if true: value if false&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;You can filter your date by using&amp;nbsp;Talend methods from TalendDate system routines.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;TalendDate.compareDate(new Date(),new Date(),"yyyy-MM-dd")&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 28 Oct 2016 09:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Between-dates-condition-in-TMap-Expression-builder/m-p/2217738#M13210</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-28T09:24:19Z</dc:date>
    </item>
  </channel>
</rss>

