<?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 FileTime() not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228190#M858541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying capture the date of the file I'm loading into Qlik and assigning the value to a variable to be added to a dashboard.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Set $File_Date = FileTime("\\path\excel.xlsx")&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The text on the object property is set to:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;='Last Updated'&amp;amp;$File_Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's printing in the object box on the dashboard is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Last Updated FileTime&lt;STRONG style="font-size: 13.3333px;"&gt;("\\path\excel.xlsx")&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems so simple, but I'm new to Qlik and can't this out. Thanks for any help!&lt;/P&gt;&lt;P&gt;Trista&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>FileTime() not working</title>
      <link>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228190#M858541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying capture the date of the file I'm loading into Qlik and assigning the value to a variable to be added to a dashboard.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Set $File_Date = FileTime("\\path\excel.xlsx")&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The text on the object property is set to:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;='Last Updated'&amp;amp;$File_Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's printing in the object box on the dashboard is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Last Updated FileTime&lt;STRONG style="font-size: 13.3333px;"&gt;("\\path\excel.xlsx")&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems so simple, but I'm new to Qlik and can't this out. Thanks for any help!&lt;/P&gt;&lt;P&gt;Trista&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228190#M858541</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: FileTime() not working</title>
      <link>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228191#M858542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='Last Updated'&amp;amp; $(File_Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='Last Updated'&amp;amp; '$(File_Date)'&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 16:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228191#M858542</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-01-24T16:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: FileTime() not working</title>
      <link>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228192#M858543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Set $File_Date = FileTime(&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;'&lt;/SPAN&gt;\\path\excel.xlsx&lt;STRONG style=": ; color: #ff0000; font-style: inherit; font-size: 14pt; font-family: inherit;"&gt;'&lt;/STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;='Last Updated' &amp;amp; &lt;SPAN style="color: #ff0000;"&gt;$(&lt;/SPAN&gt;$File_Date&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 16:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228192#M858543</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-24T16:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: FileTime() not working</title>
      <link>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228193#M858544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with LET:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #3d3d3d;"&gt;LET v_File_Date = FileTime(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14pt; font-family: inherit; color: #ff0000;"&gt;'&lt;/SPAN&gt;\\path\excel.xlsx&lt;STRONG style="font-style: inherit; font-size: 14pt; font-family: inherit; color: #ff0000;"&gt;'&lt;/STRONG&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;Then in a text box:&lt;/P&gt;&lt;P&gt;= 'File time: ' &amp;amp; v_File_Date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 16:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228193#M858544</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-24T16:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: FileTime() not working</title>
      <link>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228194#M858545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Trista,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you to put value in Variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You had used filetime(), if you want to use this You should Use &lt;STRONG&gt;LET&lt;/STRONG&gt; Variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;LET $File_Date = FileTime&lt;SPAN style="color: #575757;"&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14pt; font-family: inherit;"&gt;'&lt;/SPAN&gt;\\path\excel.xlsx&lt;SPAN style="font-style: inherit; font-size: 14pt; font-family: inherit;"&gt;&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;='Last Updated' &amp;amp; &lt;SPAN style="color: #3d3d3d; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;$(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;$File_Date&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style=": ; color: #575757; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Regards&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;SPAN style="color: #575757;"&gt;Sathish&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 16:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228194#M858545</guid>
      <dc:creator>satheshreddy</dc:creator>
      <dc:date>2017-01-24T16:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: FileTime() not working</title>
      <link>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228195#M858546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your prompt responses!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what worked.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET $v_File_Date = FileTime('\\path\excel.xlsx');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I didn't realize I had to end it with a semi-colon ';'.&lt;/P&gt;&lt;P&gt;I'm assuming prefixing with "v_", is best practice for Qlik variables...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in object text box:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= 'Last Updated' &amp;amp; $v_File_Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result also included both the date and time. I was looking for just the date. But, this will do.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Last Updated&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1/23/2017 9:31:25 AM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[Stefan]&lt;/P&gt;&lt;P&gt;You can get only the date part using e.g. Dayname():&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET $v_File_Date = DayName(FileTime('\\path\excel.xlsx'));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Last Updated&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;1/23/2017&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANK YOU ALL!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 17:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228195#M858546</guid>
      <dc:creator />
      <dc:date>2017-01-24T17:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: FileTime() not working</title>
      <link>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228196#M858547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get only the date part using e.g. Dayname():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET $v_File_Date = DayName(FileTime('\\path\excel.xlsx'));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If your request is resolved, then please close this thread by flagging helpful and/ or correct answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 18:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228196#M858547</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-24T18:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: FileTime() not working</title>
      <link>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228197#M858548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect Stefan! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 18:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileTime-not-working/m-p/1228197#M858548</guid>
      <dc:creator />
      <dc:date>2017-01-24T18:13:30Z</dc:date>
    </item>
  </channel>
</rss>

