<?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: Problem of date and string inside a expression condition in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Problem-of-date-and-string-inside-a-expression-condition/m-p/1997199#M82578</link>
    <description>&lt;P&gt;That doesn't work&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":sleepy_face:"&gt;😪&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2022 15:12:41 GMT</pubDate>
    <dc:creator>Ethan0079</dc:creator>
    <dc:date>2022-10-26T15:12:41Z</dc:date>
    <item>
      <title>Problem of date and string inside a expression condition</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-of-date-and-string-inside-a-expression-condition/m-p/1996596#M82537</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a problem...&lt;/P&gt;
&lt;P&gt;My code snippet below works and returns the right date in the right format.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Date(($(vCurrentDate)+'07:00:00'),'DD.MM.YYYY HH:mm:ss')&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ethan0079_0-1666701023299.png" style="width: 780px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92102i626458819EE88354/image-dimensions/780x238?v=v2" width="780" height="238" role="button" title="Ethan0079_0-1666701023299.png" alt="Ethan0079_0-1666701023299.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However, I would like to insert this result inside my Count condition.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ethan0079_1-1666701167678.png" style="width: 744px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92103i8D73A7FB2DE4B351/image-dimensions/744x240?v=v2" width="744" height="240" role="button" title="Ethan0079_1-1666701167678.png" alt="Ethan0079_1-1666701167678.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But the interpreter gives me an error. Impossible to understand why, I tried everything.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the other hand, if I write the date and time in hard copy, it works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ethan0079_2-1666701329862.png" style="width: 743px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92104i5FF6E3429F2B14F4/image-dimensions/743x285?v=v2" width="743" height="285" role="button" title="Ethan0079_2-1666701329862.png" alt="Ethan0079_2-1666701329862.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;
&lt;P&gt;Ethan&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 12:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-of-date-and-string-inside-a-expression-condition/m-p/1996596#M82537</guid>
      <dc:creator>Ethan0079</dc:creator>
      <dc:date>2022-10-25T12:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of date and string inside a expression condition</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-of-date-and-string-inside-a-expression-condition/m-p/1996660#M82541</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/202353"&gt;@Ethan0079&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It will be because it is trying to evaluate against the actual text for the date function in the set expression and not the what is being returned from the Date Function. you will need something like&lt;/P&gt;
&lt;P&gt;Date&amp;nbsp; = {'$(Date(.....))'}&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 14:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-of-date-and-string-inside-a-expression-condition/m-p/1996660#M82541</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2022-10-25T14:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of date and string inside a expression condition</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-of-date-and-string-inside-a-expression-condition/m-p/1997199#M82578</link>
      <description>&lt;P&gt;That doesn't work&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":sleepy_face:"&gt;😪&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 15:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-of-date-and-string-inside-a-expression-condition/m-p/1997199#M82578</guid>
      <dc:creator>Ethan0079</dc:creator>
      <dc:date>2022-10-26T15:12:41Z</dc:date>
    </item>
  </channel>
</rss>

