<?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 Comparing date field with current system date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-date-field-with-current-system-date/m-p/143108#M22452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a category field which I must set based on certain conditions being true.&lt;/P&gt;&lt;P&gt;one of these conditions is:&lt;/P&gt;&lt;P&gt;set category to 'A' if the field, IEADVDELIVERYDATE is within this current week.&lt;/P&gt;&lt;P&gt;so if that date field is between Monday and Sunday of the same week that the system date is within&lt;/P&gt;&lt;P&gt;There is also a second Category where the date field is compared to Monday to Sunday of the PREVIOUS week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody suggest how I can do this please?&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 May 2009 16:59:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-05-01T16:59:46Z</dc:date>
    <item>
      <title>Comparing date field with current system date</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-date-field-with-current-system-date/m-p/143108#M22452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a category field which I must set based on certain conditions being true.&lt;/P&gt;&lt;P&gt;one of these conditions is:&lt;/P&gt;&lt;P&gt;set category to 'A' if the field, IEADVDELIVERYDATE is within this current week.&lt;/P&gt;&lt;P&gt;so if that date field is between Monday and Sunday of the same week that the system date is within&lt;/P&gt;&lt;P&gt;There is also a second Category where the date field is compared to Monday to Sunday of the PREVIOUS week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody suggest how I can do this please?&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 16:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-date-field-with-current-system-date/m-p/143108#M22452</guid>
      <dc:creator />
      <dc:date>2009-05-01T16:59:46Z</dc:date>
    </item>
    <item>
      <title>Comparing date field with current system date</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-date-field-with-current-system-date/m-p/143109#M22453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;inweektodate ( IEADVDELIVERYDATE, Today(), 0 )&lt;BR /&gt;inweektodate ( IEADVDELIVERYDATE, Today()-7, 0 )&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 17:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-date-field-with-current-system-date/m-p/143109#M22453</guid>
      <dc:creator />
      <dc:date>2009-05-01T17:09:27Z</dc:date>
    </item>
  </channel>
</rss>

