<?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 Convert string to date and compare with date today in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590548#M738415</link>
    <description>&lt;P&gt;Sorry for asking but i can't find the right solution...&lt;/P&gt;&lt;P&gt;In my expression, I want to convert a string into date and then i want to compare this date with the date today, in order to check if converted date is in the future or past.&lt;/P&gt;&lt;P&gt;I tried&amp;nbsp;=Date(Date#('11-07-2019', 'DD.MM.YYYY'), 'DD.MM.YYYY') to display 11.07.2019 in a textbox but the output is " - ".&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:20:14 GMT</pubDate>
    <dc:creator>gf</dc:creator>
    <dc:date>2024-11-16T03:20:14Z</dc:date>
    <item>
      <title>Convert string to date and compare with date today</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590548#M738415</link>
      <description>&lt;P&gt;Sorry for asking but i can't find the right solution...&lt;/P&gt;&lt;P&gt;In my expression, I want to convert a string into date and then i want to compare this date with the date today, in order to check if converted date is in the future or past.&lt;/P&gt;&lt;P&gt;I tried&amp;nbsp;=Date(Date#('11-07-2019', 'DD.MM.YYYY'), 'DD.MM.YYYY') to display 11.07.2019 in a textbox but the output is " - ".&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590548#M738415</guid>
      <dc:creator>gf</dc:creator>
      <dc:date>2024-11-16T03:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Convert string to date and compare with date today</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590551#M738416</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; =Date(Date#('11-07-2019', 'DD-MM-YYYY'), 'DD.MM.YYYY')&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 11 Jun 2019 15:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590551#M738416</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-11T15:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Convert string to date and compare with date today</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590554#M738417</link>
      <description>Thanks a lot sunny!</description>
      <pubDate>Tue, 11 Jun 2019 15:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590554#M738417</guid>
      <dc:creator>gf</dc:creator>
      <dc:date>2019-06-11T15:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Convert string to date and compare with date today</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590557#M738418</link>
      <description>&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt; may i ask you one more question.&lt;BR /&gt;Is an expression like this possible?&lt;BR /&gt;=IF(Date(date#(Duedate,'DD-MM-YYYY'),' DD.MM.YYYY')&amp;lt;DATE(MonthEnd(Today(),+1), 'DD.MM.YYYY'),Status='YES' AND&lt;BR /&gt;IF(TestText='Missing Due Date', Count(IF(Duedate='',Duedate)),&lt;BR /&gt;IF(TestText='Total yes all ref', Count(If(Status='YES',Status)),&lt;BR /&gt;IF(TestText='A1 - NO',Count({&amp;lt;Reference={'A1'}&amp;gt;} IF(Status = 'NO',Status)),&lt;BR /&gt;IF(TestText='B1 - NO',Count({&amp;lt;Reference={'B1'}&amp;gt;} IF(Status = 'NO',Status)),&lt;BR /&gt;IF(TestText='C1 - NO',Count({&amp;lt;Reference={'C1'}&amp;gt;} IF(Status = 'NO',Status)),&lt;BR /&gt;IF(TestText='TOTAL',Count(IF(Duedate&amp;lt;&amp;gt;'',Duedate)))&lt;BR /&gt;))))))&lt;BR /&gt;&lt;BR /&gt;Thank you very much and Regards!!</description>
      <pubDate>Tue, 11 Jun 2019 15:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590557#M738418</guid>
      <dc:creator>gf</dc:creator>
      <dc:date>2019-06-11T15:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Convert string to date and compare with date today</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590561#M738419</link>
      <description>&lt;P&gt;Highlighted some of the issues&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 986px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13556iDE880B8A39557EAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1) You have a comma and after that you have another condition... can't work like this... you need 'AND' or 'OR' between them or just give a value (like 'YES') without equal&lt;/P&gt;&lt;P&gt;2) You cannot have AND and IF like this... you can either remove AND or IF based on your requirement...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There might be others, but it is difficult to know the issue without knowing the underlying goal.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 15:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590561#M738419</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-11T15:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Convert string to date and compare with date today</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590563#M738420</link>
      <description>Thank you again for the fast answer!&lt;BR /&gt;I will look for a work-around.&lt;BR /&gt;(And sorry for asking a different question in this thread)&lt;BR /&gt;&lt;BR /&gt;Regards!</description>
      <pubDate>Tue, 11 Jun 2019 15:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590563#M738420</guid>
      <dc:creator>gf</dc:creator>
      <dc:date>2019-06-11T15:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Convert string to date and compare with date today</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590566#M738423</link>
      <description>&lt;P&gt;No problem&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 15:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-string-to-date-and-compare-with-date-today/m-p/1590566#M738423</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-11T15:17:11Z</dc:date>
    </item>
  </channel>
</rss>

