<?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 date not outputing expected results in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Compare-date-not-outputing-expected-results/m-p/2319346#M89604</link>
    <description>&lt;P&gt;Hi Fabio,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late reply, was very busy of of late. Appreciate the response! I tried another scenario and wanted to see the output if I revise the file date but kept the today_date the same. Both are outputting -1 when the file data is before and after today_date. Do you know why the 2nd screenshot below doesn't show 1 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Mar 2021 15:18:31 GMT</pubDate>
    <dc:creator>jwing</dc:creator>
    <dc:date>2021-03-02T15:18:31Z</dc:date>
    <item>
      <title>Compare date not outputing expected results</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-date-not-outputing-expected-results/m-p/2319344#M89602</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to compare the last modified date of a file with todays date. I am expecting the output to be -1 because the documentation states "...-1 if the first date is earlier..."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan 18 at 06:46:30  is earlier than Jan 18 00:00:00...so why does the compareDate output a 1 instead of a -1? Is there something I am missing? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any feedback is much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BDnvSAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151799i9C30DC6B0FC6908D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BDnvSAAT.png" alt="0693p00000BDnvSAAT.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BDnu5AAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152566i59DA56F797282DA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BDnu5AAD.png" alt="0693p00000BDnu5AAD.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BDnuyAAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147356i63D32791B92AD6EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BDnuyAAD.png" alt="0693p00000BDnuyAAD.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.talend.com/r/DDjlr2GHaTAASHk4QPrCDw/drLRG4tDnucYg6H2Au0myQ" target="_blank"&gt;https://help.talend.com/r/DDjlr2GHaTAASHk4QPrCDw/drLRG4tDnucYg6H2Au0myQ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BDnuoAAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129792iAE50EC977F91DC84/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BDnuoAAD.png" alt="0693p00000BDnuoAAD.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-date-not-outputing-expected-results/m-p/2319344#M89602</guid>
      <dc:creator>jwing</dc:creator>
      <dc:date>2024-11-16T00:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Compare date not outputing expected results</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-date-not-outputing-expected-results/m-p/2319345#M89603</link>
      <description>&lt;P&gt;Hi jwing! &lt;/P&gt;&lt;P&gt;You have 2 dates: &lt;I&gt; Jan 18 06:46:30&lt;/I&gt; and &lt;I&gt;Jan 18 00:00:00&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Those are times of the same day: the first date is 6 hours after the second, that's why compareDate output is 1 (correct).&lt;/P&gt;&lt;P&gt;Maybe you wish to test if &lt;I&gt;file_date &lt;/I&gt;is by midnight (before January 19)? If so, you could set &lt;I&gt;today_date + 1day&lt;/I&gt; to go at 00:00 of the next day, in this way you're covered until 11.59.59 of January 18.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 11:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-date-not-outputing-expected-results/m-p/2319345#M89603</guid>
      <dc:creator>Fabio_Caimi</dc:creator>
      <dc:date>2021-02-11T11:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Compare date not outputing expected results</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-date-not-outputing-expected-results/m-p/2319346#M89604</link>
      <description>&lt;P&gt;Hi Fabio,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late reply, was very busy of of late. Appreciate the response! I tried another scenario and wanted to see the output if I revise the file date but kept the today_date the same. Both are outputting -1 when the file data is before and after today_date. Do you know why the 2nd screenshot below doesn't show 1 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 15:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-date-not-outputing-expected-results/m-p/2319346#M89604</guid>
      <dc:creator>jwing</dc:creator>
      <dc:date>2021-03-02T15:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Compare date not outputing expected results</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-date-not-outputing-expected-results/m-p/2319347#M89605</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000ATrWAAA1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146957iD4F1336EDAC1691E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000ATrWAAA1.png" alt="0693p00000ATrWAAA1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000ATrX3AAL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134146i679F5DD15CB28991/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000ATrX3AAL.png" alt="0693p00000ATrX3AAL.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 15:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-date-not-outputing-expected-results/m-p/2319347#M89605</guid>
      <dc:creator>jwing</dc:creator>
      <dc:date>2021-03-02T15:22:02Z</dc:date>
    </item>
  </channel>
</rss>

