<?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 ReloadTime() not getting set? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238109#M716533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write following code in Text Object&lt;/P&gt;&lt;P&gt;=Reloadtime()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Feb 2011 13:46:37 GMT</pubDate>
    <dc:creator>suniljain</dc:creator>
    <dc:date>2011-02-04T13:46:37Z</dc:date>
    <item>
      <title>ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238103#M716527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;P&gt;I've had complaints about a QVW I have that the ReloadTime() keeps displaying the time *I* last ran the load (before I distributed the QVWs). The QVWs get delivered pretty much empty, and then the user has them loaded in an overnight process that is called with the OCX. Other system variables seem to be fine, but even though the data is clearly updated, the ReloadTime() remains set to the last time I had done the reload while it was under development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Heard of this? I can just change it to store the date in my own variable at the end of the run - I was just keen on using system variables where I could.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 19:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238103#M716527</guid>
      <dc:creator />
      <dc:date>2010-02-12T19:39:53Z</dc:date>
    </item>
    <item>
      <title>ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238104#M716528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I already faced this problem because my code was&lt;/P&gt;&lt;P&gt;Set MyVariable=releadtime();&lt;/P&gt;&lt;P&gt;I changed to&lt;/P&gt;&lt;P&gt;Let MyVariable=releadtime();&lt;/P&gt;&lt;P&gt;and everything recovered&lt;/P&gt;&lt;P&gt;Pierre.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 21:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238104#M716528</guid>
      <dc:creator>pdumas</dc:creator>
      <dc:date>2010-02-12T21:51:50Z</dc:date>
    </item>
    <item>
      <title>ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238105#M716529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ReloadTime() returns the end of the *last completed* script execution. It is not reset until the script end. It's not generally useful in the script to reflect anything about the current script run.&lt;/P&gt;&lt;P&gt;If used directl in the UI, it does show the correct end time. If used in the script, it reflects the end of the *previous* script run.&lt;/P&gt;&lt;P&gt;Instead of using ReloadTime(), I usually start all my scripts with&lt;BR /&gt;LET SCRIPT_START = now(1);&lt;/P&gt;&lt;P&gt;And end them with:&lt;BR /&gt;LET LOAD_DURATION = now(1) - SCRIPT_START;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2010 10:37:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238105#M716529</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-02-13T10:37:00Z</dc:date>
    </item>
    <item>
      <title>ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238106#M716530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;I checked my script and I had replaced the ReloadTime function with&lt;/P&gt;&lt;P&gt;Let vScriptReload=today();&lt;/P&gt;&lt;P&gt;Thanks for trick on how to monitor reload duration&lt;/P&gt;&lt;P&gt;Pierre.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2010 11:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238106#M716530</guid>
      <dc:creator>pdumas</dc:creator>
      <dc:date>2010-02-13T11:52:12Z</dc:date>
    </item>
    <item>
      <title>ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238107#M716531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its not in the script that I use it - its in a text box on a screen. So I was hoping it would be set to the last completed script execution. That was the whole point - so the user could see if the data in the QVW was up-to-date. The problem is, the load has been successfully run, multiple times, and the date on the screen is still from two weeks ago, when I last ran it on my pc.&lt;/P&gt;&lt;P&gt;I realize the easy fix is to just stuff today() into a variable, which is what I will do. I had wondered if I was using the system variable incorrectly (and it sounds like I'm not -- must be another fun "feature" with the OCX).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 16:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238107#M716531</guid>
      <dc:creator />
      <dc:date>2010-02-15T16:46:29Z</dc:date>
    </item>
    <item>
      <title>ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238108#M716532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;How would i then get this displayed in my application?&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 13:40:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238108#M716532</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2011-02-04T13:40:42Z</dc:date>
    </item>
    <item>
      <title>ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238109#M716533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write following code in Text Object&lt;/P&gt;&lt;P&gt;=Reloadtime()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 13:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238109#M716533</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-02-04T13:46:37Z</dc:date>
    </item>
    <item>
      <title>ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238110#M716534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;Assume in your script you have:&lt;/P&gt;&lt;P&gt;LET vScriptStart = now(1);&lt;/P&gt;&lt;P&gt;LET vLoadDuration = now(1) - vScriptStart;&lt;/P&gt;&lt;P&gt;In your app create a text box with:&lt;/P&gt;&lt;P&gt;='Last Reload: ' &amp;amp; vScriptStart &amp;amp; '&lt;BR /&gt;Load Duration: ' &amp;amp; interval(vLoadDuration, 'hh:mm:ss')&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 19:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238110#M716534</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-02-04T19:46:38Z</dc:date>
    </item>
    <item>
      <title>ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238111#M716535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am usign ReloadTime() but I want to separate the date and the time and the date like the exaples below that I have in two text boxes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='﻿﻿Hoy es ' &amp;amp; Date(today(),'MMMM') &amp;amp; ' ' &amp;amp; Date(today(),'DD') &amp;amp; ' de ' &amp;amp; Date(today(),'YYYY')&lt;/P&gt;&lt;P&gt;='﻿﻿Son las ' &amp;amp; time(now(),'hh:mm tt')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I wat to do the same with ReloadTime(), is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 16:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238111#M716535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-12T16:17:18Z</dc:date>
    </item>
    <item>
      <title>ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238112#M716536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you need to break it into three pieces. You can just do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='﻿﻿Hoy es ' &amp;amp; Date(today(),'MMMM DD YYYY'')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or ='﻿﻿Hoy es ' &amp;amp; Date(ReloadTime(),'MMMM DD YYYY'')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;time(ReloadTime. 'hh:mm tt')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 18:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238112#M716536</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-10-13T18:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238113#M716537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Rob Wunderlich wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If used in the script, it reflects the end of the *previous* script run.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is exactly how I'm using in the script in one of my applications:&lt;/P&gt;&lt;P&gt;LET PreviousReload = ReloadTime();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was working as expected, but recently I upgarded to QV11 SR2, and it changed.&amp;nbsp; In SR2, ReloadTime() returns the time of the script execution start, and keeps it during the reload process.&amp;nbsp; After the reload is finished, it returns the end of the reload process.&lt;/P&gt;&lt;P&gt;Have to use something else to get the previuos reload time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 12:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238113#M716537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-11T12:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238114#M716538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like SR2 changed the interpretation of now(0) as well! I think both the ReloadTime() and now(0) change are bugs. The Help for now(0) says:&lt;/P&gt;&lt;P&gt;"0 Time at previously finished reload (not currently ongoing reload)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for ReloadTime():&lt;/P&gt;&lt;P&gt;"Returns a timestamp for when the script last finished reexecuting."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There have been changes in behavior of now() in the past, and they have caused me rework Because of that, I don't rely on any of the time functions to establish a point in time except for now(1), the current time. I use now(1) to set my own variables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 15:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238114#M716538</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-10-11T15:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238115#M716539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to report it to QlikTech as a bug.&lt;/P&gt;&lt;P&gt;As for my application, I'm now getting the previous reload time from the timestamp of a QVD file which is modified later in the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 16:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238115#M716539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-11T16:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238116#M716540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you get any response from QlikTech?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Mar 2013 09:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238116#M716540</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2013-03-03T09:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: ReloadTime() not getting set?</title>
      <link>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238117#M716541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is from Oct 15, 2012:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"...&amp;nbsp; Your recent support case as described below has now been confirmed by our Issue Analysis team as a bug, ID 51903.&lt;/P&gt;&lt;P&gt;Due to uncertainties regarding potential related problems and program priorities we cannot guarantee a fix date at this time&amp;nbsp; ..."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't check if it was fixed later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 13:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ReloadTime-not-getting-set/m-p/238117#M716541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-04T13:03:31Z</dc:date>
    </item>
  </channel>
</rss>

