<?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: Time in QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Time-in-QlikView/m-p/1599801#M737935</link>
    <description>&lt;P&gt;Try like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Let x=10;
Let y=20;
Let z=30;
Let k=40;

Input:
LOAD *
		INLINE [
id, time
1, 13:00:00
2, 13:01:01
3, 13:02:02
4, 13:04:03
5, 13:09:04
6, 13:11:05
7, 13:14:06
8, 13:15:07
9, 13:16:08
10, 13:18:09
11, 13:19:10
12, 13:20:11
13, 13:23:12
14, 13:25:13
15, 13:27:14
16, 13:32:15
17, 13:36:16
18, 13:39:17
19, 13:42:18
20, 13:48:18
];

Let vFirstTime=Peek('time',0);
Let vLastTime=Peek('time',-1);

Let vMinTime=vFirstTime +Time#($(x), 'mm')+Time#($(y), 'ss');
Let vMaxTime=vLastTime -Time#($(z), 'mm')-Time#($(k), 'ss');

NoConcatenate
Output:
Load * Resident Input Where time &amp;gt;= $(vMinTime) AND   time &amp;lt;= $(vMaxTime) ;
                      
Drop table Input;&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 08 Jul 2019 09:47:18 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2019-07-08T09:47:18Z</dc:date>
    <item>
      <title>Time in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Time-in-QlikView/m-p/1599785#M737934</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;i have this table :&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;id, time&lt;BR /&gt;1, 13:00:00&lt;BR /&gt;2, 13:01:01&lt;BR /&gt;3, 13:02:02&lt;BR /&gt;4, 13:04:03&lt;BR /&gt;5, 13:09:04&lt;BR /&gt;6, 13:11:05&lt;BR /&gt;7, 13:14:06&lt;BR /&gt;8, 13:15:07&lt;BR /&gt;9, 13:16:08&lt;BR /&gt;10, 13:18:09&lt;BR /&gt;11, 13:19:10&lt;BR /&gt;12, 13:20:11&lt;BR /&gt;13, 13:23:12&lt;BR /&gt;14, 13:25:13&lt;BR /&gt;15, 13:27:14&lt;BR /&gt;16, 13:32:15&lt;BR /&gt;17, 13:36:16&lt;BR /&gt;18, 13:39:17&lt;BR /&gt;19, 13:42:18&lt;BR /&gt;20, 13:48:18&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;what i need to get is only the records bwtween :&lt;/P&gt;&lt;P&gt;((first record )+ (x&amp;nbsp; 'mm') +( y&amp;nbsp; 'ss') ) to&amp;nbsp; &amp;nbsp; &amp;nbsp;((last record) - (z&amp;nbsp; 'mm') -(k 'ss') )&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-in-QlikView/m-p/1599785#M737934</guid>
      <dc:creator>roee1983</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Time in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Time-in-QlikView/m-p/1599801#M737935</link>
      <description>&lt;P&gt;Try like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Let x=10;
Let y=20;
Let z=30;
Let k=40;

Input:
LOAD *
		INLINE [
id, time
1, 13:00:00
2, 13:01:01
3, 13:02:02
4, 13:04:03
5, 13:09:04
6, 13:11:05
7, 13:14:06
8, 13:15:07
9, 13:16:08
10, 13:18:09
11, 13:19:10
12, 13:20:11
13, 13:23:12
14, 13:25:13
15, 13:27:14
16, 13:32:15
17, 13:36:16
18, 13:39:17
19, 13:42:18
20, 13:48:18
];

Let vFirstTime=Peek('time',0);
Let vLastTime=Peek('time',-1);

Let vMinTime=vFirstTime +Time#($(x), 'mm')+Time#($(y), 'ss');
Let vMaxTime=vLastTime -Time#($(z), 'mm')-Time#($(k), 'ss');

NoConcatenate
Output:
Load * Resident Input Where time &amp;gt;= $(vMinTime) AND   time &amp;lt;= $(vMaxTime) ;
                      
Drop table Input;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 08 Jul 2019 09:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-in-QlikView/m-p/1599801#M737935</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-07-08T09:47:18Z</dc:date>
    </item>
  </channel>
</rss>

