<?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: Date# resturn small decimal in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-resturn-small-decimal/m-p/420937#M695736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I change it to:&lt;/P&gt;&lt;P&gt;Let vYesterday = Num(Today(1)-1);&lt;/P&gt;&lt;P&gt;Let vMaxDateInQVD = Date($(vYesterday)-10);&lt;/P&gt;&lt;P&gt;Let vTest = Date&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;#('$(vMaxDateInQVD)');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Added two single quot, it seems work now if I use Num function.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 May 2013 16:01:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-29T16:01:25Z</dc:date>
    <item>
      <title>Date# resturn small decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Date-resturn-small-decimal/m-p/420936#M695735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on the for next loop on the date. And want to convert the date to number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vYesterday = Num(Today(1)-1);&lt;/P&gt;&lt;P&gt;Let vMaxDateInQVD = Date($(vYesterday)-10);&lt;/P&gt;&lt;P&gt;Let vTest = Date#($(vMaxDateInQVD));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the returns are:&lt;/P&gt;&lt;P&gt;vTest&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "0.00013799194127063"&lt;/P&gt;&lt;P&gt;vMaxDateInQVD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5/18/2013&lt;/P&gt;&lt;P&gt;vYesterday&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 41422&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why the vTest is a small decimal? I suppose it should be an integer likes vYesterday - 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 15:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-resturn-small-decimal/m-p/420936#M695735</guid>
      <dc:creator />
      <dc:date>2013-05-29T15:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Date# resturn small decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Date-resturn-small-decimal/m-p/420937#M695736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I change it to:&lt;/P&gt;&lt;P&gt;Let vYesterday = Num(Today(1)-1);&lt;/P&gt;&lt;P&gt;Let vMaxDateInQVD = Date($(vYesterday)-10);&lt;/P&gt;&lt;P&gt;Let vTest = Date&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;#('$(vMaxDateInQVD)');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Added two single quot, it seems work now if I use Num function.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 16:01:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-resturn-small-decimal/m-p/420937#M695736</guid>
      <dc:creator />
      <dc:date>2013-05-29T16:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Date# resturn small decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Date-resturn-small-decimal/m-p/420938#M695737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you should you this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vTest = Date#(vMaxDateInQVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't use $ ( )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 16:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-resturn-small-decimal/m-p/420938#M695737</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2013-05-29T16:03:50Z</dc:date>
    </item>
  </channel>
</rss>

