<?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 subtract between two time stamps in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697066#M251778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add one more line in your script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interval(Time#(END_TIME,'h:mm:ss TT')-Time#(START_TIME,'h:mm:ss TT'),'h:m:ss') as TimeDifference&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Sep 2014 09:47:03 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-09-03T09:47:03Z</dc:date>
    <item>
      <title>Time subtract between two time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697060#M251772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to subtract this Timestamp( Start_Time - End_Time).&lt;/P&gt;&lt;P&gt;if any one knows this help me.&lt;/P&gt;&lt;P&gt;PFA for example file.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 09:24:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697060#M251772</guid>
      <dc:creator>Qlik__Vinodh</dc:creator>
      <dc:date>2014-09-03T09:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Time subtract between two time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697061#M251773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Interval().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For details see in help menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 09:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697061#M251773</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-09-03T09:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Time subtract between two time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697062#M251774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Interval(Time#(End_Time, 'hh:mm:ss TT')-Time#(Start_Time, 'hh:mm:ss TT'), 'hh:mm:ss') as TimeDiff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: 'TT' not 'tt'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 09:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697062#M251774</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-09-03T09:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Time subtract between two time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697063#M251775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Function is Interval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Interval(time02 - Time01,'hh:mm')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 09:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697063#M251775</guid>
      <dc:creator>senarath</dc:creator>
      <dc:date>2014-09-03T09:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Time subtract between two time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697064#M251776</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;=Interval(Timestamp#('3:19:21 AM', 'h:m:ss TT')&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;- Timestamp#('3:15:00 AM', 'h:m:ss TT'), 'h:m:ss TT')&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Interval(Timestamp#(EndTime, 'h:m:ss TT')&lt;/TD&gt;&lt;TD&gt;- Timestamp#(StartTime, 'h:m:ss TT'), 'h:m:ss TT') AS TimeDifference&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; From DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 09:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697064#M251776</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-03T09:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Time subtract between two time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697065#M251777</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;Create a field in your backend Script:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Interval&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;END_TIME&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; - &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;START_TIME&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'hh:mm:ss')&amp;nbsp; AS Time_Subtract&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;It will give you desired Result.&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: 8pt;"&gt;Also, see the Attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Aviral Nag&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 09:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697065#M251777</guid>
      <dc:creator>aveeeeeee7en</dc:creator>
      <dc:date>2014-09-03T09:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Time subtract between two time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697066#M251778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add one more line in your script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interval(Time#(END_TIME,'h:mm:ss TT')-Time#(START_TIME,'h:mm:ss TT'),'h:m:ss') as TimeDifference&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 09:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-subtract-between-two-time-stamps/m-p/697066#M251778</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-03T09:47:03Z</dc:date>
    </item>
  </channel>
</rss>

