<?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: Convert a dynamic variable to a date format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-a-dynamic-variable-to-a-date-format/m-p/1853386#M1215762</link>
    <description>&lt;P&gt;If you want to keep the date in that format use vToday rather than $(vToday).&lt;/P&gt;&lt;P&gt;Using the $( ) tried to evaluate the contents so it divides 29 by 10 then by 2021 giving you 0.001434933....&lt;/P&gt;</description>
    <pubDate>Fri, 29 Oct 2021 04:34:06 GMT</pubDate>
    <dc:creator>Lisa_P</dc:creator>
    <dc:date>2021-10-29T04:34:06Z</dc:date>
    <item>
      <title>Convert a dynamic variable to a date format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-dynamic-variable-to-a-date-format/m-p/1853371#M1215761</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I'm trying to get a input field (vToday as below) and change it to dynamic variable(target to put to a dynamic table later)..&lt;/P&gt;
&lt;P&gt;but somehow, the "29/10/2021" will convert to "0.00143.." as below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deekey2_0-1635478261880.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/65539i11A735835EF2BB89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="deekey2_0-1635478261880.png" alt="deekey2_0-1635478261880.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;so I try to change the vToday to "44498", then the result is my expectation.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deekey2_1-1635478304509.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/65540i49D23BDF3D66A069/image-size/medium?v=v2&amp;amp;px=400" role="button" title="deekey2_1-1635478304509.png" alt="deekey2_1-1635478304509.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can anyone help to find the solution, the expected input and output as below.&lt;/P&gt;
&lt;P&gt;input :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deekey2_2-1635478642705.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/65543iD68413AA1D2B9D62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="deekey2_2-1635478642705.png" alt="deekey2_2-1635478642705.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;output: &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deekey2_4-1635478663533.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/65545i59FEE349FC45B3E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="deekey2_4-1635478663533.png" alt="deekey2_4-1635478663533.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;p.s. I have to get via dynamic var like $(vToday) so I can put to table for dynamic date range change, I tried to put vToday but the table hasn't updated :X&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Dee&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 03:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-dynamic-variable-to-a-date-format/m-p/1853371#M1215761</guid>
      <dc:creator>deekey2</dc:creator>
      <dc:date>2021-10-29T03:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a dynamic variable to a date format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-dynamic-variable-to-a-date-format/m-p/1853386#M1215762</link>
      <description>&lt;P&gt;If you want to keep the date in that format use vToday rather than $(vToday).&lt;/P&gt;&lt;P&gt;Using the $( ) tried to evaluate the contents so it divides 29 by 10 then by 2021 giving you 0.001434933....&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 04:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-dynamic-variable-to-a-date-format/m-p/1853386#M1215762</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2021-10-29T04:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a dynamic variable to a date format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-dynamic-variable-to-a-date-format/m-p/1853409#M1215765</link>
      <description>&lt;P&gt;If you need to dollar expand your variable then you could try to quote it to force your string to be handled as a string, like this: '$(vToday)'&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 05:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-dynamic-variable-to-a-date-format/m-p/1853409#M1215765</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2021-10-29T05:48:20Z</dc:date>
    </item>
  </channel>
</rss>

