<?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: Change Today() to a different date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032917#M642615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;&lt;STRONG&gt;Date(Date(today(), 'DD/MM/YYYY')+&amp;lt;Number of days to add&amp;gt;, 'DD/MM/YYYY').&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;The above just adds the number to today. So if I have &lt;STRONG&gt;+14, &lt;/STRONG&gt;this will add 14 days to &lt;STRONG&gt;today. &lt;/STRONG&gt;​You can also subtract this&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jan 2016 05:07:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-20T05:07:50Z</dc:date>
    <item>
      <title>Change Today() to a different date</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032915#M642613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a dashboard for a client using stale data.&amp;nbsp; Many of the charts and calculations are based off of comparing Shipping and Ordering dates to the current date...today().&amp;nbsp; Is it possible to manipulate or change the date associated to today().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 02:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032915#M642613</guid>
      <dc:creator />
      <dc:date>2016-01-20T02:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Change Today() to a different date</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032916#M642614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jeremy &lt;/P&gt;&lt;P&gt;can you please explain what you want to do with an example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 04:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032916#M642614</guid>
      <dc:creator />
      <dc:date>2016-01-20T04:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Change Today() to a different date</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032917#M642615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;&lt;STRONG&gt;Date(Date(today(), 'DD/MM/YYYY')+&amp;lt;Number of days to add&amp;gt;, 'DD/MM/YYYY').&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;The above just adds the number to today. So if I have &lt;STRONG&gt;+14, &lt;/STRONG&gt;this will add 14 days to &lt;STRONG&gt;today. &lt;/STRONG&gt;​You can also subtract this&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 05:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032917#M642615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-20T05:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change Today() to a different date</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032918#M642616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a variable like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vDate = Date(Today() - N)&amp;nbsp;&amp;nbsp;&amp;nbsp; ///(N may be any number you want to adjust)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use this variable wherever you are using Today(), this way you can in one place and it reflects in multiple places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today() will always return the system date of your computer, if you want to change value of it you have to change date in your computer..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 05:15:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032918#M642616</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-01-20T05:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change Today() to a different date</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032919#M642617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain a bit more please with some sample if possible,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 05:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032919#M642617</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-01-20T05:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change Today() to a different date</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032920#M642618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi harish ,&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4002"&gt;The Date Function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/72932"&gt;Difference between Date,Date# and Num,Num#????&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/157390" title="https://community.qlikview.com/thread/157390"&gt;Date Function | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 06:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032920#M642618</guid>
      <dc:creator />
      <dc:date>2016-01-20T06:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change Today() to a different date</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032921#M642619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp; Yea I should have created a variable at the beginning of development and then performed all calculations based off of the variable.&amp;nbsp; The problem is I already coded everything based off of using today().&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yea i was just hoping that there was some way i would be able to alter the date associated to today() so i wouldnt have to go back and change all of my expressions.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In regards to others who are asking what i'm trying to do with an example.&amp;nbsp; I performing different calculations in the dashboard based on todays date.&amp;nbsp; The problem is i'm working with stale data and need to change the date associated to today to let say 5/5/15.&amp;nbsp; That way aging of Orders and Shipments display correctly.&amp;nbsp; Appreciate the feedback.&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 13:36:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032921#M642619</guid>
      <dc:creator />
      <dc:date>2016-01-20T13:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Change Today() to a different date</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032922#M642620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create your own today date value based on your data. Get the Max date from your data and assign the value to your custom defined value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vCustomToday --&amp;gt;&amp;nbsp; &lt;STRONG&gt;=Max({1} DateField)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 15:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Today-to-a-different-date/m-p/1032922#M642620</guid>
      <dc:creator />
      <dc:date>2016-01-20T15:22:29Z</dc:date>
    </item>
  </channel>
</rss>

