<?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: Date Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Calculation/m-p/1353#M794371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, that should be 185 Weeks, not 209!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jan 2018 10:08:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-16T10:08:00Z</dc:date>
    <item>
      <title>Date Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Calculation/m-p/1352#M794369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a weeks figure, based on the time that an item has been on offer for sale, or TOO (Time on Offer). For example, I have an item which launched on 01/07/2014 today's date is 16/01/2018 so the TOO would be 209 Weeks. The data being provided by the SQL table is DATETIME, so i'm also not sure if I need to cater for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&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/Date-Calculation/m-p/1352#M794369</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Calculation/m-p/1353#M794371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, that should be 185 Weeks, not 209!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 10:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Calculation/m-p/1353#M794371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-16T10:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Calculation/m-p/1354#M794372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to write something like this in your load script:&lt;/P&gt;&lt;P&gt;(Today() - [YourDateField]) / 7 AS TOO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also either Ceil() or Floor() the result depending on what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Teemu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 10:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Calculation/m-p/1354#M794372</guid>
      <dc:creator>teempi</dc:creator>
      <dc:date>2018-01-16T10:17:08Z</dc:date>
    </item>
  </channel>
</rss>

