<?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 load script - get actual time with milliseconds in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load-script-get-actual-time-with-milliseconds/m-p/153453#M30478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the VBScript Timer function in a macro function and call that from the load script. See attached.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;(Caution QVS SR4 has problems with custom macro functions - bug #27945)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 May 2010 01:51:51 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2010-05-18T01:51:51Z</dc:date>
    <item>
      <title>load script - get actual time with milliseconds</title>
      <link>https://community.qlik.com/t5/QlikView/load-script-get-actual-time-with-milliseconds/m-p/153450#M30475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;how is it possible to get the actual time with milliseconds in the load script. I need to query the time (like the function now()) but with the precision of milliseconds.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 16:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-script-get-actual-time-with-milliseconds/m-p/153450#M30475</guid>
      <dc:creator />
      <dc:date>2010-05-17T16:51:32Z</dc:date>
    </item>
    <item>
      <title>load script - get actual time with milliseconds</title>
      <link>https://community.qlik.com/t5/QlikView/load-script-get-actual-time-with-milliseconds/m-p/153451#M30476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rabbit,&lt;/P&gt;&lt;P&gt;Unfortunately the now() function only returns timestamp to the second... even when attempting to reformat with fff (which should show fractions of a second to 3 decimal places).&lt;/P&gt;&lt;P&gt;The only way I could get millisecs was to:&lt;BR /&gt; 1_ execute an external command that stores the current timestamp in a file&lt;BR /&gt; 2_ read the file into a table&lt;BR /&gt; 3_ peek to get the value into a variable.&lt;/P&gt;&lt;P&gt;Perhaps someone else on the forum could come up with a solution using macros...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 20:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-script-get-actual-time-with-milliseconds/m-p/153451#M30476</guid>
      <dc:creator />
      <dc:date>2010-05-17T20:48:46Z</dc:date>
    </item>
    <item>
      <title>load script - get actual time with milliseconds</title>
      <link>https://community.qlik.com/t5/QlikView/load-script-get-actual-time-with-milliseconds/m-p/153452#M30477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the load script, we run an EXECUTE command to create the mydate.txt file.&lt;/P&gt;&lt;P&gt;In order for this to run correctly, you need to make sure that the "Can Execute External Programs" box is checked on the load script settings tab.&lt;/P&gt;&lt;P&gt;Also, be sure to click the "Give System Access" button that pops up when you reload. I haven't tested this on server yet, so I'm not sure if it will requrie additional setup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 23:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-script-get-actual-time-with-milliseconds/m-p/153452#M30477</guid>
      <dc:creator />
      <dc:date>2010-05-17T23:50:27Z</dc:date>
    </item>
    <item>
      <title>load script - get actual time with milliseconds</title>
      <link>https://community.qlik.com/t5/QlikView/load-script-get-actual-time-with-milliseconds/m-p/153453#M30478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the VBScript Timer function in a macro function and call that from the load script. See attached.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;(Caution QVS SR4 has problems with custom macro functions - bug #27945)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 01:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-script-get-actual-time-with-milliseconds/m-p/153453#M30478</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-05-18T01:51:51Z</dc:date>
    </item>
  </channel>
</rss>

