<?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: Addmonths function can't work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271443#M856289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Examples fr make date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor476"&gt;&lt;/A&gt;&lt;A name="MakeDate"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;MakeDate&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;YYYY [ , MM [ , DD ] ] &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns a date calculated from the year &lt;SPAN class="Italic"&gt;YYYY&lt;/SPAN&gt;, the month &lt;SPAN class="Italic"&gt;MM&lt;/SPAN&gt; and the day &lt;SPAN class="Italic"&gt;DD&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;If no month is stated, 1(January) is assumed. &lt;/P&gt;&lt;P&gt;If no day is stated, 1 (the 1:st) is assumed. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;makedate&lt;/SPAN&gt;(1999)&lt;/SPAN&gt; returns 1999-01-01&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;makedate&lt;/SPAN&gt;(99)&lt;/SPAN&gt; returns 0099-01-01&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;makedate&lt;/SPAN&gt;(1992,12)&lt;/SPAN&gt; returns 1992-12-01&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;makedate&lt;/SPAN&gt;(1999,2,14)&lt;/SPAN&gt; returns 1999-02-14&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Feb 2017 10:29:45 GMT</pubDate>
    <dc:creator>sdmech81</dc:creator>
    <dc:date>2017-02-06T10:29:45Z</dc:date>
    <item>
      <title>Addmonths function can't work</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271434#M856280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create a variable (New Time) which have value 2016-9-30 and put it in addmonths function but it failed.&lt;/P&gt;&lt;P&gt;However when i replace (&lt;SPAN style="font-size: 13.3333px;"&gt;New Time) with '&lt;SPAN style="font-size: 13.3333px;"&gt;2016-9-30&lt;/SPAN&gt;', it work..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case 1&lt;/P&gt;&lt;P&gt;Addmonths('2016-9-30', 1) = 30/10/2016 it work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case 2&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Addmonths([New Time], 1) = -&amp;nbsp; it failed which [&lt;SPAN style="font-size: 13.3333px;"&gt;New Time]=&lt;SPAN style="font-size: 13.3333px;"&gt;2016-9-30 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please help T^T&lt;BR /&gt;&lt;/SPAN&gt;&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/Addmonths-function-can-t-work/m-p/1271434#M856280</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths function can't work</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271435#M856281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Case 1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Addmonths('2016-9-30', 1) = 30/10/2016 it work&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;It should work because this is a static&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Case 2&lt;/STRONG&gt;: Try like below&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;Addmonths(Date([New Time],'DD/MM/YYYY'), 1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;Update&lt;/SPAN&gt;: If variable, you may create something like this&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;AddMonths('$([New Time])',1) //Can you confirm how do you create New Line to get that Date&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 09:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271435#M856281</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-02-01T09:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths function can't work</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271436#M856282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is [New Time] a variable or a field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using addmonths in script or in a chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 09:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271436#M856282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-01T09:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths function can't work</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271437#M856283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if its a variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('$(New Time)',1) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 09:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271437#M856283</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-01T09:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths function can't work</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271438#M856284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need quotes around the variable:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Addmonths('[New Time]', 1) &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 09:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271438#M856284</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-02-01T09:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths function can't work</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271439#M856285</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;It doesn't work...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;New Time should be a field&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I create New Time in script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; year,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; month,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; Timestamp#(year &amp;amp;'-'&amp;amp; month &amp;amp;'-30','YYYY-MM') as "New Time",&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;year and month is the original field &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 01:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271439#M856285</guid>
      <dc:creator />
      <dc:date>2017-02-02T01:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths function can't work</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271440#M856286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;New Time should be a field&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I create New Time in script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="border: 0px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;year,&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;month,&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;Timestamp#(year &amp;amp;'-'&amp;amp; month &amp;amp;'-30','YYYY-MM') as "New Time",&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;year and month is the original field&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have tried &lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;('$(New Time)',1)&lt;/SPAN&gt; and it doesn't work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 07:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271440#M856286</guid>
      <dc:creator />
      <dc:date>2017-02-02T07:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths function can't work</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271441#M856287</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;This should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; DateTest:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Monthend&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;amp;'-'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;amp;'-01','YYYY-MM-DD')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[New Time]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Monthend&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;amp;'-'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;amp;'-01','YYYY-MM-DD')&lt;STRONG&gt;)&lt;/STRONG&gt;,1) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[New Time Addmonths]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; year, month&lt;BR /&gt; 2016, 01&lt;BR /&gt; 2016, 02&lt;BR /&gt; 2016, 03&lt;BR /&gt; 2016, 04&lt;BR /&gt; 2016, 05&lt;BR /&gt; 2016, 06&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just modify and apply to your scenario.&lt;/P&gt;&lt;P&gt;- Use monthend function instead to determine last date of a month - Not all months have 30 days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 09:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271441#M856287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-06T09:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths function can't work</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271442#M856288</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;Use makedate function and generate date as u desire&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U have used like :Timestamp#(year &amp;amp;'-'&amp;amp; month &amp;amp;'-30','YYYY-MM') as "New Time"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Timestamp# is interpretation-function not date generation function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use makedate() and then try Addmonth() it should work!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 10:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271442#M856288</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-06T10:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Addmonths function can't work</title>
      <link>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271443#M856289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Examples fr make date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor476"&gt;&lt;/A&gt;&lt;A name="MakeDate"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;MakeDate&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;YYYY [ , MM [ , DD ] ] &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns a date calculated from the year &lt;SPAN class="Italic"&gt;YYYY&lt;/SPAN&gt;, the month &lt;SPAN class="Italic"&gt;MM&lt;/SPAN&gt; and the day &lt;SPAN class="Italic"&gt;DD&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;If no month is stated, 1(January) is assumed. &lt;/P&gt;&lt;P&gt;If no day is stated, 1 (the 1:st) is assumed. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;makedate&lt;/SPAN&gt;(1999)&lt;/SPAN&gt; returns 1999-01-01&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;makedate&lt;/SPAN&gt;(99)&lt;/SPAN&gt; returns 0099-01-01&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;makedate&lt;/SPAN&gt;(1992,12)&lt;/SPAN&gt; returns 1992-12-01&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;makedate&lt;/SPAN&gt;(1999,2,14)&lt;/SPAN&gt; returns 1999-02-14&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 10:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Addmonths-function-can-t-work/m-p/1271443#M856289</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-06T10:29:45Z</dc:date>
    </item>
  </channel>
</rss>

