<?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 Today() - Very Strange Result in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Today-Very-Strange-Result/m-p/230805#M82611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using QlikView 9.0 Desktop to create a reporting interface. I am populating a variable vToday with Num(Today()). Today is 11/3/2009 but this returns 10/30/2009. The clock on my computer says 11/3, the clock on the server where the file is located says 11/3 and the server that has the database says 11/3 so why would QlikView say it is 10/30?&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Nov 2009 03:19:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-04T03:19:16Z</dc:date>
    <item>
      <title>Today() - Very Strange Result</title>
      <link>https://community.qlik.com/t5/QlikView/Today-Very-Strange-Result/m-p/230805#M82611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using QlikView 9.0 Desktop to create a reporting interface. I am populating a variable vToday with Num(Today()). Today is 11/3/2009 but this returns 10/30/2009. The clock on my computer says 11/3, the clock on the server where the file is located says 11/3 and the server that has the database says 11/3 so why would QlikView say it is 10/30?&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 03:19:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-Very-Strange-Result/m-p/230805#M82611</guid>
      <dc:creator />
      <dc:date>2009-11-04T03:19:16Z</dc:date>
    </item>
    <item>
      <title>Today() - Very Strange Result</title>
      <link>https://community.qlik.com/t5/QlikView/Today-Very-Strange-Result/m-p/230806#M82612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default, today() returns the date that the document was opened, not today. I realize that's not exactly intuitive, but I suspect its QlikView trying to save people from themselves. You see, today(1), which actually returns today, polls the operating system every second, and can be used improperly in expressions such that your CPU caps out and never comes back. So just be careful with it. In any case, here are your options:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;today(0) = when the document was loaded&lt;BR /&gt;today(1) = today&lt;BR /&gt;today() or today(2) = when you opened the document&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 03:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-Very-Strange-Result/m-p/230806#M82612</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-11-04T03:47:23Z</dc:date>
    </item>
    <item>
      <title>Today() - Very Strange Result</title>
      <link>https://community.qlik.com/t5/QlikView/Today-Very-Strange-Result/m-p/230807#M82613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I truly understand the process as it explained in the HELP you posted elsewhere. BUT I have the same problem of APPARENTLY random returns from TODAY(0) ... may be a bug (I'm still using v9).&lt;/P&gt;&lt;P&gt;I simply use a script that saves the date in a variable LET %oggi = Today(0); why should it give a different result than a simple Today(0) function in a text box?&lt;/P&gt;&lt;P&gt;While I am here I dispute that the document could have been opened or loaded several weeks in the past - I just opened and loaded it running the script. So even Today(2) shouldn't be that different.&lt;/P&gt;&lt;P&gt;I can try with Today(1) to be sure I should be able to reproduce the same condition that makes the "randomness" appear.&lt;/P&gt;&lt;P&gt;Flavio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 12:35:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-Very-Strange-Result/m-p/230807#M82613</guid>
      <dc:creator>eiconsulting</dc:creator>
      <dc:date>2010-12-15T12:35:07Z</dc:date>
    </item>
    <item>
      <title>Today() - Very Strange Result</title>
      <link>https://community.qlik.com/t5/QlikView/Today-Very-Strange-Result/m-p/230808#M82614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a possible answer to MYSELF &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt; - Use always TODAY(1) in a script.&lt;/P&gt;&lt;P&gt;While you run a load the date of the last load is the previous one. ONE STEP BEFORE CURRENT (being executed) LOAD.&lt;/P&gt;&lt;P&gt;This would make using Today() Today(1) VERY STUPID in a script. There are system variables for lastLoad lastSave lastXX why confuse the water with Today?&lt;/P&gt;&lt;P&gt;Flavio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 13:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-Very-Strange-Result/m-p/230808#M82614</guid>
      <dc:creator>eiconsulting</dc:creator>
      <dc:date>2010-12-15T13:06:40Z</dc:date>
    </item>
    <item>
      <title>Today() - Very Strange Result</title>
      <link>https://community.qlik.com/t5/QlikView/Today-Very-Strange-Result/m-p/230809#M82615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May I suggest using Now() instead, it defaults to parameter 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 13:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-Very-Strange-Result/m-p/230809#M82615</guid>
      <dc:creator>tseebach</dc:creator>
      <dc:date>2010-12-15T13:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Today() - Very Strange Result</title>
      <link>https://community.qlik.com/t5/QlikView/Today-Very-Strange-Result/m-p/230810#M82616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi seebach,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please elaborate little bit more how can you suggest Now().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 14:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-Very-Strange-Result/m-p/230810#M82616</guid>
      <dc:creator />
      <dc:date>2014-02-04T14:27:44Z</dc:date>
    </item>
  </channel>
</rss>

