<?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: Compare filetime to Now() in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Compare-filetime-to-Now/m-p/2026851#M84636</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Try without dollar sign expansion:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;IF &lt;FONT color="#FF0000"&gt;vFileTime1&lt;/FONT&gt; &amp;lt; (Now()-MakeTime(3)) then&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2023 19:59:02 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2023-01-17T19:59:02Z</dc:date>
    <item>
      <title>Compare filetime to Now()</title>
      <link>https://community.qlik.com/t5/App-Development/Compare-filetime-to-Now/m-p/2026266#M84609</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I'm a bit at loss. Trying to run a script only, if the filetime of a qvd is older then 3 hours.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Script is:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;let vFileTime1 = FileTime('lib://path_to_my _file);&lt;/P&gt;
&lt;P&gt;IF $(vFileTime1) &amp;lt; (Now()-MakeTime(3)) then&lt;/P&gt;
&lt;P&gt;load ...&lt;/P&gt;
&lt;P&gt;Getting this error:&lt;/P&gt;
&lt;DIV class="headline edc_error"&gt;&lt;EM&gt;The following error occurred:&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;&lt;EM&gt;Unexpected token: '3', expected one of: 'OPERATOR_PLUS', 'OPERATOR_MINUS', 'OPERATOR_MULTIPLICATION', 'OPERATOR_DIVISION', 'OPERATOR_STRING_CONCAT', 'like', 'and', ...&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV class="empty edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="headline edc_error"&gt;&lt;EM&gt;The error occurred here:&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;&lt;EM&gt;IF 1/16/2023 &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;3&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;:02:37 PM &amp;gt; (Now()-MakeTime(3)) then&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="edc_error"&gt;Thanks for your help!&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Jan 2023 16:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compare-filetime-to-Now/m-p/2026266#M84609</guid>
      <dc:creator>Udo</dc:creator>
      <dc:date>2023-01-16T16:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Compare filetime to Now()</title>
      <link>https://community.qlik.com/t5/App-Development/Compare-filetime-to-Now/m-p/2026851#M84636</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Try without dollar sign expansion:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;IF &lt;FONT color="#FF0000"&gt;vFileTime1&lt;/FONT&gt; &amp;lt; (Now()-MakeTime(3)) then&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 19:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compare-filetime-to-Now/m-p/2026851#M84636</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2023-01-17T19:59:02Z</dc:date>
    </item>
  </channel>
</rss>

