<?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: Elapsed time calcualtion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Elapsed-time-calcualtion/m-p/1152930#M912925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your load script? I'm assuming that the unspecified character string CASE_OPEN_DTTM is the name of a field containing a regular date? Then you can use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Floor(today() - CASE_OPEN_DTTM) As NoOfDays,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM sourcefile.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2016 15:30:35 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2016-05-26T15:30:35Z</dc:date>
    <item>
      <title>Elapsed time calcualtion</title>
      <link>https://community.qlik.com/t5/QlikView/Elapsed-time-calcualtion/m-p/1152929#M912924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can some one please tell me how to calculate the number of days between today's date and a previous date, such as "CASE_OPEN_DTTM""&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/Elapsed-time-calcualtion/m-p/1152929#M912924</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Elapsed time calcualtion</title>
      <link>https://community.qlik.com/t5/QlikView/Elapsed-time-calcualtion/m-p/1152930#M912925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your load script? I'm assuming that the unspecified character string CASE_OPEN_DTTM is the name of a field containing a regular date? Then you can use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Floor(today() - CASE_OPEN_DTTM) As NoOfDays,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM sourcefile.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 15:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Elapsed-time-calcualtion/m-p/1152930#M912925</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-26T15:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Elapsed time calcualtion</title>
      <link>https://community.qlik.com/t5/QlikView/Elapsed-time-calcualtion/m-p/1152931#M912926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to what &lt;A _jive_internal="true" href="https://community.qlik.com/people/pcammaert"&gt;Peter&lt;/A&gt;‌ mentioned, you can also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use Interval() if you need hours and minutes&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Interval(Now() - CASE_OPEN_DTTM, 'D hh:mm:ss') as TimeBetween&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use you need just the working days, you can use NetWorkingDays&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;NetWorkDays(&lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;CASE_OPEN_DTTM, Today()) as NetWorkDaysBetween&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 16:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Elapsed-time-calcualtion/m-p/1152931#M912926</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T16:22:24Z</dc:date>
    </item>
  </channel>
</rss>

