<?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: inserting the timestamp of data source in qv application in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526437#M196734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please expain how to use this script in my application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2013 07:21:46 GMT</pubDate>
    <dc:creator>marksmunich</dc:creator>
    <dc:date>2013-07-02T07:21:46Z</dc:date>
    <item>
      <title>inserting the timestamp of data source in qv application</title>
      <link>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526430#M196727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello qlikviewers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to insert a timestamp which must display how old the source is or the status of the source file when it is update. for example i am using a excel data and i would like to display the date and time of the source file. or how old it is.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result must be like 26.04.2013 09:10:01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 11:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526430#M196727</guid>
      <dc:creator>marksmunich</dc:creator>
      <dc:date>2013-07-01T11:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: inserting the timestamp of data source in qv application</title>
      <link>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526431#M196728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this displays the last reload of the application. but i want to get the timestamp of the excel file. which is my source data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 12:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526431#M196728</guid>
      <dc:creator>marksmunich</dc:creator>
      <dc:date>2013-07-01T12:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: inserting the timestamp of data source in qv application</title>
      <link>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526432#M196729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you wanna display when the excel file was created? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 12:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526432#M196729</guid>
      <dc:creator />
      <dc:date>2013-07-01T12:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: inserting the timestamp of data source in qv application</title>
      <link>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526433#M196730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;SET&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vTIMEStart&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;Now&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(); //When extraction Start&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;SET&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vTIMEEnd&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;Now&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(); //When extraction End&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;Inline:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;Inline&lt;/SPAN&gt; &lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;[&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartTime,EndTime&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vTIMEStart&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;),$(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vTIMEEnd&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 12:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526433#M196730</guid>
      <dc:creator />
      <dc:date>2013-07-01T12:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: inserting the timestamp of data source in qv application</title>
      <link>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526434#M196731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to display when the excel was last updated (it is same as when it is created)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 13:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526434#M196731</guid>
      <dc:creator>marksmunich</dc:creator>
      <dc:date>2013-07-01T13:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: inserting the timestamp of data source in qv application</title>
      <link>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526435#M196732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can run the below script to get the excel's last updated time and then store into variable and show on dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUB DoDir (Root)&lt;/P&gt;&lt;P&gt;FOR Each Ext in 'qvw', 'qva', 'qvo', 'qvs'&lt;/P&gt;&lt;P&gt;FOR Each File in filelist (Root&amp;amp;'\*.' &amp;amp;Ext)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;'$(File)' as Name, &lt;/P&gt;&lt;P&gt;FileSize( '$(File)' ) as Size, &lt;/P&gt;&lt;P&gt;FileTime( '$(File)' ) as FileTime&lt;/P&gt;&lt;P&gt;autogenerate 1;&lt;/P&gt;&lt;P&gt;NEXT File&lt;/P&gt;&lt;P&gt;NEXT Ext&lt;/P&gt;&lt;P&gt;FOR Each Dir in dirlist (Root&amp;amp;'\*' )&lt;/P&gt;&lt;P&gt;call DoDir (Dir)&lt;/P&gt;&lt;P&gt;NEXT Dir&lt;/P&gt;&lt;P&gt;ENDSUB&lt;/P&gt;&lt;P&gt;CALL DoDir ('C:')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 13:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526435#M196732</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-01T13:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: inserting the timestamp of data source in qv application</title>
      <link>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526436#M196733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sounds good. i will try it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 13:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526436#M196733</guid>
      <dc:creator>marksmunich</dc:creator>
      <dc:date>2013-07-01T13:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: inserting the timestamp of data source in qv application</title>
      <link>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526437#M196734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please expain how to use this script in my application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 07:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526437#M196734</guid>
      <dc:creator>marksmunich</dc:creator>
      <dc:date>2013-07-02T07:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: inserting the timestamp of data source in qv application</title>
      <link>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526438#M196735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use the same script in your application. Something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUB DoDir (Root)&lt;/P&gt;&lt;P&gt;FOR Each Ext in 'qvw', 'qva', 'qvo', 'qvs'&lt;/P&gt;&lt;P&gt;FOR Each File in filelist (Root&amp;amp;'\*.' &amp;amp;Ext)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;TEST:&lt;/P&gt;&lt;P&gt;'$(File)' as Name, &lt;/P&gt;&lt;P&gt;FileSize( '$(File)' ) as Size, &lt;/P&gt;&lt;P&gt;FileTime( '$(File)' ) as FileTime&lt;/P&gt;&lt;P&gt;autogenerate 1;&lt;/P&gt;&lt;P&gt;NEXT File&lt;/P&gt;&lt;P&gt;NEXT Ext&lt;/P&gt;&lt;P&gt;FOR Each Dir in dirlist (Root&amp;amp;'\*' )&lt;/P&gt;&lt;P&gt;call DoDir (Dir)&lt;/P&gt;&lt;P&gt;NEXT Dir&lt;/P&gt;&lt;P&gt;ENDSUB&lt;/P&gt;&lt;P&gt;CALL DoDir ('C:')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vDate = Peek('FileTime',0,'TEST');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the last updated datetime is in variable, you can use it where ever you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I assume that the TEST table will have only 1 record (for the file you want.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 07:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/inserting-the-timestamp-of-data-source-in-qv-application/m-p/526438#M196735</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-02T07:30:02Z</dc:date>
    </item>
  </channel>
</rss>

