<?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: Subtract Timestamp in qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Subtract-Timestamp-in-qlikview/m-p/1386769#M805648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the expression you posted, you should be using the timestamp&lt;STRONG&gt;#&lt;/STRONG&gt;() function, not timestamp().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Oct 2017 18:17:18 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2017-10-31T18:17:18Z</dc:date>
    <item>
      <title>Subtract Timestamp in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Subtract-Timestamp-in-qlikview/m-p/1386766#M805645</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;I need to covert the values to number, what I'm doing is ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interval(timestamp('08/08/2017 14:12:01','DD/MM/YYYY hh:mm:ss')-timestamp('08/08/2017 14:15:47','DD/MM/YYYY hh:mm:ss'),'s') AS DURATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it gives 226. But when I export in excel, it showing as text not the number, seems, bcz of this I cant roll up values and leads wrong figures. Can any one give solution for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, what is the difference between num() &amp;amp;num#() ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Balanandam&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/Subtract-Timestamp-in-qlikview/m-p/1386766#M805645</guid>
      <dc:creator>balanandam</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Subtract Timestamp in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Subtract-Timestamp-in-qlikview/m-p/1386767#M805646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wrap the whole Interval() function within a Num() function and check with Qlik Support. Interval returns a numeric value and if it does not, then it should be checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference between any function with a # at the end like Num#() Date#() or Interval#() and their equivalents without the "#" is that the former interpret values while the latter represent values. By default, any value in QlikView has a numeric and string representation, clear example of which is "000002". It could be the number 2, or the string "000002".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num#(000002) will work and will return the string with the leading zeros, while Num('000002') will also work and will return 2, as the leading zeros are not significant for a numeric value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Said in a less proper way (incorrect actually but for the sake of the example), "#" functions &lt;EM&gt;display&lt;/EM&gt; while not "#" functions &lt;EM&gt;convert&lt;/EM&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 15:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtract-Timestamp-in-qlikview/m-p/1386767#M805646</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-10-31T15:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Subtract Timestamp in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Subtract-Timestamp-in-qlikview/m-p/1386768#M805647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the data like below&lt;/P&gt;&lt;P&gt;Dateswork:&lt;/P&gt;&lt;P&gt;LOAD * INLINE&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date,No,StartDate,EndDate&lt;/P&gt;&lt;P&gt;'23/10/2017',1,'23/10/2017 12:04:51','23/10/2017 13:09:27'&lt;/P&gt;&lt;P&gt;'23/10/2017',1,'23/10/2017 11:12:09','23/10/2017 11:34:01'&lt;/P&gt;&lt;P&gt;'26/10/2017',2,'26/10/2017 15:47:17','26/10/2017 15:56:26'&lt;/P&gt;&lt;P&gt;'23/10/2017',1,'23/10/2017 13:00:31','23/10/2017 13:00:35'&lt;/P&gt;&lt;P&gt;'20/10/2017',3,'20/10/2017 15:08:49','20/10/2017 15:08:54'&lt;/P&gt;&lt;P&gt;'21/10/2017',4,'21/10/2017 17:58:49','21/10/2017 18:16:21'&lt;/P&gt;&lt;P&gt;'25/10/2017',5,'25/10/2017 14:27:26','25/10/2017 14:40:05'&lt;/P&gt;&lt;P&gt;'26/10/2017',6,'26/10/2017 19:58:36','26/10/2017 20:27:37'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to derive duration in sec (must be in number format)for this startdate and enddate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you share the sample .qvw with this data ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 18:03:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtract-Timestamp-in-qlikview/m-p/1386768#M805647</guid>
      <dc:creator>balanandam</dc:creator>
      <dc:date>2017-10-31T18:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Subtract Timestamp in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Subtract-Timestamp-in-qlikview/m-p/1386769#M805648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the expression you posted, you should be using the timestamp&lt;STRONG&gt;#&lt;/STRONG&gt;() function, not timestamp().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 18:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtract-Timestamp-in-qlikview/m-p/1386769#M805648</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-10-31T18:17:18Z</dc:date>
    </item>
  </channel>
</rss>

