<?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 interval to minutes as numeric value? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Time-interval-to-minutes-as-numeric-value/m-p/339651#M125378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To answer my own inquiry - Just saw the exact solution already answered here.&amp;nbsp; &lt;A _jive_internal="true" class="active_link" href="https://community.qlik.com/message/67986#67986"&gt;http://community.qlik.com/message/67986#67986&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Emile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Aug 2012 11:41:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-06T11:41:52Z</dc:date>
    <item>
      <title>Time interval to minutes as numeric value?</title>
      <link>https://community.qlik.com/t5/QlikView/Time-interval-to-minutes-as-numeric-value/m-p/339650#M125377</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;&lt;/P&gt;&lt;P&gt;I'm relatively new to QlikView, so perhaps this can be accomplished quite simple. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SET TimestampFormat='YYYY-MM-DD hh:mm:ss';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I have the following simplified situation from a LOAD on a .CSV table: &lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;//...&lt;/P&gt;&lt;P&gt;Timestamp#(@2) AS Time1,&amp;nbsp; // 26-Jul-12 15:59:45&lt;/P&gt;&lt;P&gt;Timestamp#(@10) AS Time2,&amp;nbsp; // 26-Jul-12 15:56:36&lt;/P&gt;&lt;P&gt;Interval(Timestamp#(@2)-Timestamp#(@10), 'm') AS TimeDiff_Minutes,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM SomeTable.csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This runs fine and when defining a f.e. table I get a correct visual representation (here 3) for TimeDiff_Minutes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when trying to re-use TimeDiff_Minutes in some sort of script calculation, it reverts to the INTERNAL representation for this interval.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get to the 'formatted' result in a script in order to re-use it, without having to duplicate the algorithm so nicely present in Interval already?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp; -Emile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="137"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 11:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-interval-to-minutes-as-numeric-value/m-p/339650#M125377</guid>
      <dc:creator />
      <dc:date>2012-08-06T11:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Time interval to minutes as numeric value?</title>
      <link>https://community.qlik.com/t5/QlikView/Time-interval-to-minutes-as-numeric-value/m-p/339651#M125378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To answer my own inquiry - Just saw the exact solution already answered here.&amp;nbsp; &lt;A _jive_internal="true" class="active_link" href="https://community.qlik.com/message/67986#67986"&gt;http://community.qlik.com/message/67986#67986&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Emile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 11:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-interval-to-minutes-as-numeric-value/m-p/339651#M125378</guid>
      <dc:creator />
      <dc:date>2012-08-06T11:41:52Z</dc:date>
    </item>
  </channel>
</rss>

