<?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: What does floor(Today()) do ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-does-floor-Today-do/m-p/714892#M1057298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks both. That makes sense now. I never thought of the time element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 14:06:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-13T14:06:57Z</dc:date>
    <item>
      <title>What does floor(Today()) do ?</title>
      <link>https://community.qlik.com/t5/QlikView/What-does-floor-Today-do/m-p/714889#M1057295</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 have a dashboard in which the creator has used the following script statement&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #0000ff;"&gt;&lt;STRONG style="color: #0000ff;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; T_End-(&lt;SPAN style="color: #0000ff;"&gt;floor&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;today&lt;/SPAN&gt;())) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; NoOfDaystoEndDate,&lt;BR /&gt;*; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought 'floor' was used for rounding down, and Today() for returning today's date. The statement doesn't make sense.&lt;/P&gt;&lt;P&gt;Can someone please explain what is happening ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;MV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 13:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-does-floor-Today-do/m-p/714889#M1057295</guid>
      <dc:creator />
      <dc:date>2014-10-13T13:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: What does floor(Today()) do ?</title>
      <link>https://community.qlik.com/t5/QlikView/What-does-floor-Today-do/m-p/714890#M1057296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;floor() rounds a value down to the nearest integer.&lt;/P&gt;&lt;P&gt;For date-time fields, floow will remove the time portion so just the date part is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script is calculating the difference between today's date&lt;/P&gt;&lt;P&gt;and T_End&lt;/P&gt;&lt;P&gt;Assuming that T_End is a date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perhaps the command should be&lt;/P&gt;&lt;P&gt;floor( T_End - today() ) as NoOfDaystoEndDate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 13:37:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-does-floor-Today-do/m-p/714890#M1057296</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-10-13T13:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: What does floor(Today()) do ?</title>
      <link>https://community.qlik.com/t5/QlikView/What-does-floor-Today-do/m-p/714891#M1057297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Floor(Today()) returns the same of (Num(Today()) so convert the date in its numerical representation, in this case nothing else because there is not time part ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 13:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-does-floor-Today-do/m-p/714891#M1057297</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-10-13T13:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: What does floor(Today()) do ?</title>
      <link>https://community.qlik.com/t5/QlikView/What-does-floor-Today-do/m-p/714892#M1057298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks both. That makes sense now. I never thought of the time element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 14:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-does-floor-Today-do/m-p/714892#M1057298</guid>
      <dc:creator />
      <dc:date>2014-10-13T14:06:57Z</dc:date>
    </item>
  </channel>
</rss>

