<?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: GetTime() QlikView Script doesn’t load in QlikSense in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59870#M605431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your explanation really help clear things up, thanks! Do you know if there is an equivalent feature to call VBScript in Sense? Clearly I don't need it for this situation but it would be helpful to know for other projects. I appreciate your help! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2018 16:29:34 GMT</pubDate>
    <dc:creator>wdchristensen</dc:creator>
    <dc:date>2018-04-19T16:29:34Z</dc:date>
    <item>
      <title>GetTime() QlikView Script doesn’t load in QlikSense</title>
      <link>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59866#M605427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 7.5pt; background: white;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial','sans-serif'; color: #0f0f0f;"&gt;I was reading a really interesting article by &lt;A _jive_internal="true" href="https://community.qlik.com/people/rwunderlich"&gt;Rob Wunderlich&lt;/A&gt;: &lt;A href="http://qlikviewcookbook.com/2013/09/fastest-method-to-read-maxfield-from-a-qvd/"&gt;“FASTEST” METHOD TO READ MAX(FIELD) FROM A QVD&lt;/A&gt; which was written for QlikView. I was wondering how much of the findings were applicable to Qlik Sense so I am trying to port his example over to Qlik Sense to see if I could replicate the efficiencies he achieved with “FieldValues”. Prior to this exercise, I was under the impression that QlikView and Qlik Sense were essentially interchangeable at the load script level. However, the line below is a clear example of where that doesn’t appear to be the case. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; vTestStart = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;GetTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(); &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 7.5pt; background: white;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: #339933;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: #339933;"&gt;/* presumably the value returned by the &lt;/SPAN&gt;getTime function is the number of milliseconds since 1 January 1970 00:00:00 */&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 7.5pt; background: white;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial','sans-serif'; color: #0f0f0f;"&gt;When I looked up &lt;A href="https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/QlikView-functions-statements-not-supported.htm"&gt;QlikView functions and statements not supported in Qlik Sense&lt;/A&gt; I didn’t see any references to GetTime(). In fact, when I looked for documentation on GetTime() it doesn’t show up in the help under any Qlik product. Can anyone help explain what is going on with this mysterious function? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 7.5pt; background: white;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial','sans-serif'; color: #0f0f0f;"&gt;To get the script to run in Sense I substituted the following line as an approximation of GetTime() in QV:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;Let &lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;vTestStart = (Num(Now(1))*86400)-((now(1)-date('1/1/1970'))*86400);&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 21:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59866#M605427</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-04-18T21:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: GetTime() QlikView Script doesn’t load in QlikSense</title>
      <link>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59867#M605428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have reconsidered my ‘fix’ to calculate the runtime duration from milliseconds since 1970 and decided to go with the standard Now(1) function. Since &lt;EM&gt;Now&lt;/EM&gt; returns I &lt;EM&gt;dual&lt;/EM&gt; I have to specify &lt;EM&gt;Num&lt;/EM&gt; to ensure I get the numeric portion. Then subtracting 2 dates regardless of whether I measure from 1900 or 1970 should return the same duration. My guess is that GetTime() has some performance benefits in QlikView that caused Rob to use that function over the standard Now function. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 15:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59867#M605428</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-04-19T15:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: GetTime() QlikView Script doesn’t load in QlikSense</title>
      <link>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59868#M605429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW Open Rob's test document and select Tools-&amp;gt;Edit Module... from the QV Desktop menu bar...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 16:16:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59868#M605429</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-04-19T16:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: GetTime() QlikView Script doesn’t load in QlikSense</title>
      <link>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59869#M605430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="EditModule.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200254_EditModule.PNG" style="height: 410px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 16:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59869#M605430</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-04-19T16:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: GetTime() QlikView Script doesn’t load in QlikSense</title>
      <link>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59870#M605431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your explanation really help clear things up, thanks! Do you know if there is an equivalent feature to call VBScript in Sense? Clearly I don't need it for this situation but it would be helpful to know for other projects. I appreciate your help! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 16:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59870#M605431</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-04-19T16:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: GetTime() QlikView Script doesn’t load in QlikSense</title>
      <link>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59871#M605432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're posting in a forum called &lt;EM&gt;QlikView Formus &amp;amp; Resources -&amp;gt;Scripting&lt;/EM&gt;. I can tell you quite a lot about QlikView, but not about Qlik Sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want more feedback from Qlik Sense experts, then you may want to move your discussion to a forum like &lt;A href="https://community.qlik.com/space/2156"&gt;Qlik Sense - App Development &amp;amp;amp; Usage&lt;/A&gt; or &lt;A href="https://community.qlik.com/space/2157"&gt;Qlik Sense - Data Connectivity&lt;/A&gt; by following the steps outlined here: &lt;A href="https://community.qlik.com/thread/61072"&gt;QlikCommunity Tip: How to move your discussion thread&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 19:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59871#M605432</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-04-19T19:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: GetTime() QlikView Script doesn’t load in QlikSense</title>
      <link>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59872#M605433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made a new post for my follow up question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1474480"&gt;What is the equivalent feature to create VBScript function in QlikSense&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 20:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetTime-QlikView-Script-doesn-t-load-in-QlikSense/m-p/59872#M605433</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-04-19T20:09:40Z</dc:date>
    </item>
  </channel>
</rss>

