<?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 How to Load files based on system time?? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Load-files-based-on-system-time/m-p/721159#M258995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have multiple files to load during the entire day and I want to load the files based on the system time. For example if the system time is &amp;gt;8:30:00 AM and &amp;lt;8:45:00 AM the Load A,B,C From ABC.xlsx else if the system time is &amp;gt;9:00:00 AM and &amp;lt;9:15:00 AM then Load A,B,C from DEF.xlsx. How can I do this? if anyone can help that will be great!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Don&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Aug 2014 21:31:58 GMT</pubDate>
    <dc:creator>don_qlikview</dc:creator>
    <dc:date>2014-08-05T21:31:58Z</dc:date>
    <item>
      <title>How to Load files based on system time??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-files-based-on-system-time/m-p/721159#M258995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have multiple files to load during the entire day and I want to load the files based on the system time. For example if the system time is &amp;gt;8:30:00 AM and &amp;lt;8:45:00 AM the Load A,B,C From ABC.xlsx else if the system time is &amp;gt;9:00:00 AM and &amp;lt;9:15:00 AM then Load A,B,C from DEF.xlsx. How can I do this? if anyone can help that will be great!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Don&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 21:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-files-based-on-system-time/m-p/721159#M258995</guid>
      <dc:creator>don_qlikview</dc:creator>
      <dc:date>2014-08-05T21:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load files based on system time??</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-files-based-on-system-time/m-p/721160#M258996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;schedule every 15 (?) minutes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let time = time#(frac(now()));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let starttime = Time#(23/24);&lt;/P&gt;&lt;P&gt;let endtime = Time#(23/24 + 50/60/24);&lt;/P&gt;&lt;P&gt;if ( $(time)&amp;gt;=$(starttime) and $(time)&amp;lt;=$(endtime) ) then&lt;/P&gt;&lt;P&gt;&amp;nbsp; trace GO ???;&lt;/P&gt;&lt;P&gt;ENDIF;&lt;/P&gt;&lt;P&gt;let str = time($(time),'hh:mm') &amp;amp; ' start=' &amp;amp; time($(starttime),'hh:mm') &amp;amp; ' end=' &amp;amp; time($(endtime),'hh:mm');&lt;/P&gt;&lt;P&gt;trace $(str);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let starttime = Time#(8/24 + 30/60/24);&lt;/P&gt;&lt;P&gt;let endtime = Time#(8/24 + 45/60/24);&lt;/P&gt;&lt;P&gt;if ( $(time)&amp;gt;=$(starttime) and $(time)&amp;lt;=$(endtime) ) then&lt;/P&gt;&lt;P&gt;&amp;nbsp; trace &lt;STRONG&gt;GO load ABC&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;ENDIF;&lt;/P&gt;&lt;P&gt;let str = time($(time),'hh:mm') &amp;amp; ' start=' &amp;amp; time($(starttime),'hh:mm') &amp;amp; ' end=' &amp;amp; time($(endtime),'hh:mm');&lt;/P&gt;&lt;P&gt;trace $(str);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let starttime = Time#(9/24 + 0/60/24);&lt;/P&gt;&lt;P&gt;let endtime = Time#(9/24 + 15/60/24);&lt;/P&gt;&lt;P&gt;if ( $(time)&amp;gt;=$(starttime) and $(time)&amp;lt;=$(endtime) ) then&lt;/P&gt;&lt;P&gt;&amp;nbsp; trace &lt;STRONG&gt;GO load DEF&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;ENDIF;&lt;/P&gt;&lt;P&gt;let str = time($(time),'hh:mm') &amp;amp; ' start=' &amp;amp; time($(starttime),'hh:mm') &amp;amp; ' end=' &amp;amp; time($(endtime),'hh:mm');&lt;/P&gt;&lt;P&gt;trace $(str);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63783_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 21:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-files-based-on-system-time/m-p/721160#M258996</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-08-05T21:58:32Z</dc:date>
    </item>
  </channel>
</rss>

