<?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 Date calculation 2 quick queries in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-calculation-2-quick-queries/m-p/224116#M76569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, got two quick queries for you, hoping someone can help, much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have to do a date calculation on some old data like this:&lt;/P&gt;&lt;P&gt;(Today()-39) - Date[Datecalllogged] as [Name]&lt;/P&gt;&lt;P&gt;However at the moment the data isn't being updated what do I need to change so that the (today()-39) increases each day? So tomorrow its value is (Today()-40) how do you get it to update??&lt;/P&gt;&lt;P&gt;2. Once I've done this calculation I have the problem that Datecalllogged is in ddMMYYYY MMHHSSMM format and I only need the format in DDMMYYYY this means I end up with a Name value of 104.23244554 is there a way to get these calculations so I get a whole number instead? e.g. 104 straight away?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense, thankyou all!&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jan 2010 14:02:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-27T14:02:26Z</dc:date>
    <item>
      <title>Date calculation 2 quick queries</title>
      <link>https://community.qlik.com/t5/QlikView/Date-calculation-2-quick-queries/m-p/224116#M76569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, got two quick queries for you, hoping someone can help, much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have to do a date calculation on some old data like this:&lt;/P&gt;&lt;P&gt;(Today()-39) - Date[Datecalllogged] as [Name]&lt;/P&gt;&lt;P&gt;However at the moment the data isn't being updated what do I need to change so that the (today()-39) increases each day? So tomorrow its value is (Today()-40) how do you get it to update??&lt;/P&gt;&lt;P&gt;2. Once I've done this calculation I have the problem that Datecalllogged is in ddMMYYYY MMHHSSMM format and I only need the format in DDMMYYYY this means I end up with a Name value of 104.23244554 is there a way to get these calculations so I get a whole number instead? e.g. 104 straight away?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense, thankyou all!&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2010 14:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-calculation-2-quick-queries/m-p/224116#M76569</guid>
      <dc:creator />
      <dc:date>2010-01-27T14:02:26Z</dc:date>
    </item>
  </channel>
</rss>

