<?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: Compare two dates in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Compare-two-dates/m-p/2362365#M126520</link>
    <description>Hi,
&lt;BR /&gt;
&lt;BR /&gt;What's your expected result? For TalendDate.compareDate(Date date1, Date date2, String pattern) method, the result whether two date is the same, if first one less than second one return number -1, equlas &amp;nbsp;* return number 0, bigger than return number 1.
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;</description>
    <pubDate>Mon, 06 Jul 2015 05:07:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-07-06T05:07:49Z</dc:date>
    <item>
      <title>Compare two dates</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-two-dates/m-p/2362364#M126519</link>
      <description>&lt;P&gt;In a tmap component I would like to compare two dates&lt;BR /&gt;&lt;BR /&gt;The first one has the format "dd-MM-yyyy"&lt;BR /&gt;The seconde one has teh format "yyyyMMdd"&lt;BR /&gt;&lt;BR /&gt;I have tried :&lt;BR /&gt;&lt;BR /&gt;TalendDate.compareDate(row1.date_expedition, row2.DATELOG,"dd-MM-yyyy")&lt;BR /&gt;&lt;BR /&gt;I have the following message : "La méthode compareDate() du type TalendJavaSourceViewer7.TalendDateStruct ne &lt;BR /&gt;&amp;nbsp;s'applique pas aux arguments (Date, Date, String)"&lt;BR /&gt;&lt;BR /&gt;In english , something like "You cannot use it with arguments (Date, Date, String"&lt;BR /&gt;&lt;BR /&gt;What is the best solution?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Didier&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2015 21:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-two-dates/m-p/2362364#M126519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-05T21:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two dates</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-two-dates/m-p/2362365#M126520</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BR /&gt;What's your expected result? For TalendDate.compareDate(Date date1, Date date2, String pattern) method, the result whether two date is the same, if first one less than second one return number -1, equlas &amp;nbsp;* return number 0, bigger than return number 1.
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;</description>
      <pubDate>Mon, 06 Jul 2015 05:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-two-dates/m-p/2362365#M126520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-06T05:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two dates</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-two-dates/m-p/2362366#M126521</link>
      <description>I agrre and it's what I'm expected &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but why this message : The compareDate () method of the type does TalendJavaSourceViewer7.TalendDateStruct&lt;BR /&gt;&amp;nbsp; not apply to arguments (Date, Date, String)</description>
      <pubDate>Mon, 06 Jul 2015 05:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-two-dates/m-p/2362366#M126521</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-06T05:37:55Z</dc:date>
    </item>
  </channel>
</rss>

