<?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 [resolved] Comparing 2 dates in Talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Comparing-2-dates-in-Talend/m-p/2307720#M79130</link>
    <description>&lt;P&gt;Hi there,&lt;BR /&gt;I am trying to compare 2 dates in tmap but am getting error as&amp;nbsp;&lt;BR /&gt;"The operator &amp;gt;= is undefined for the argument type(s) java.util.Date, java.util.Date".&lt;BR /&gt;The condition that i am trying to put in is :&amp;nbsp;TIMECREATED &amp;gt;= DATEADD(DAY , -30, CI_START_DT) &amp;amp;&amp;amp;&amp;nbsp;TIMECREATED &amp;lt;= CI_START_DT.&lt;BR /&gt;I need to fetch out data between start date and 30 days prior to start date. But as I try to use that as an expression, I get the error as stated above.&lt;BR /&gt;I have checked &amp;amp; confirmed the datatype of both columns.&lt;BR /&gt;Can you please help me.&lt;BR /&gt;Regards,&lt;BR /&gt;Sunny&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2016 05:57:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-18T05:57:40Z</dc:date>
    <item>
      <title>[resolved] Comparing 2 dates in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Comparing-2-dates-in-Talend/m-p/2307720#M79130</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;I am trying to compare 2 dates in tmap but am getting error as&amp;nbsp;&lt;BR /&gt;"The operator &amp;gt;= is undefined for the argument type(s) java.util.Date, java.util.Date".&lt;BR /&gt;The condition that i am trying to put in is :&amp;nbsp;TIMECREATED &amp;gt;= DATEADD(DAY , -30, CI_START_DT) &amp;amp;&amp;amp;&amp;nbsp;TIMECREATED &amp;lt;= CI_START_DT.&lt;BR /&gt;I need to fetch out data between start date and 30 days prior to start date. But as I try to use that as an expression, I get the error as stated above.&lt;BR /&gt;I have checked &amp;amp; confirmed the datatype of both columns.&lt;BR /&gt;Can you please help me.&lt;BR /&gt;Regards,&lt;BR /&gt;Sunny&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 05:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Comparing-2-dates-in-Talend/m-p/2307720#M79130</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-18T05:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Comparing 2 dates in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Comparing-2-dates-in-Talend/m-p/2307721#M79131</link>
      <description>Take a look in Routines.system.TalendDate.
&lt;BR /&gt;
&lt;BR /&gt;There are Date comparison routines to help you.</description>
      <pubDate>Mon, 18 Jul 2016 09:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Comparing-2-dates-in-Talend/m-p/2307721#M79131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-18T09:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Comparing 2 dates in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Comparing-2-dates-in-Talend/m-p/2307722#M79132</link>
      <description>I am not able to find something good in Talenddate.&lt;BR /&gt;Can you help me with something relevant.</description>
      <pubDate>Tue, 19 Jul 2016 00:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Comparing-2-dates-in-Talend/m-p/2307722#M79132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-19T00:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Comparing 2 dates in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Comparing-2-dates-in-Talend/m-p/2307723#M79133</link>
      <description>They are there.&lt;BR /&gt;If your example is SQL syntax, you need to translate it to Java&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;public&lt;/B&gt; &lt;B&gt;static&lt;/B&gt; &lt;B&gt;int&lt;/B&gt; compareDate(Date date1, Date date2, String pattern)&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;public&lt;/B&gt; &lt;B&gt;static&lt;/B&gt; Date addDate(Date date, &lt;B&gt;int&lt;/B&gt; nb, String dateType)</description>
      <pubDate>Tue, 19 Jul 2016 10:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Comparing-2-dates-in-Talend/m-p/2307723#M79133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-19T10:10:59Z</dc:date>
    </item>
  </channel>
</rss>

