<?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: Calculating a date a month and a day in the future in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-a-date-a-month-and-a-day-in-the-future/m-p/269827#M18703</link>
    <description>&lt;P&gt;The trick is to match your business rules. INTNX allows you variations to get end of month value, using an interval of 0, with end or beginning option for example. You haven't specified the rules so we can't help beyond this, but hopefully it gets you started.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2016 18:00:15 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-05-11T18:00:15Z</dc:date>
    <item>
      <title>Calculating a date a month and a day in the future</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-a-date-a-month-and-a-day-in-the-future/m-p/269813#M18700</link>
      <description>&lt;P&gt;I need to select renewal dates a month and a day from now as part of an automated process that I will create as a process node in&amp;nbsp;SAS Customer Intellligence Studio.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, today is May 11th 2016, so I want to find all renewal dates of June 12th 2016.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I realise I am going to have a problem in February when I will miss some dates.&amp;nbsp; Has anyone overcome this problem?&amp;nbsp;&amp;nbsp; For various reasons, I can't simply use 30 days in the future or 31 days in the future.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vanessa&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 17:25:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-a-date-a-month-and-a-day-in-the-future/m-p/269813#M18700</guid>
      <dc:creator>VanessaP</dc:creator>
      <dc:date>2016-05-11T17:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a date a month and a day in the future</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-a-date-a-month-and-a-day-in-the-future/m-p/269814#M18701</link>
      <description>&lt;P&gt;Use the intnx function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where date = intnx('month', today()+1, 1, 's')&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 17:27:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-a-date-a-month-and-a-day-in-the-future/m-p/269814#M18701</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-11T17:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a date a month and a day in the future</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-a-date-a-month-and-a-day-in-the-future/m-p/269816#M18702</link>
      <description>&lt;P&gt;I think you'll need a slight variation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cutoff_date = intnx('month', today(), 1, 's') + 1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To address your question about different end-of-month values, SAS does have some logic built into the INTNX function to address these cases.&amp;nbsp; But you'll have to look through some examples to see if SAS handles it the way you would like.&amp;nbsp; Here's a good starting point:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p10v3sa3i4kfxfn1sovhi5xzxh8n.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 17:30:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-a-date-a-month-and-a-day-in-the-future/m-p/269816#M18702</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-05-11T17:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a date a month and a day in the future</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-a-date-a-month-and-a-day-in-the-future/m-p/269827#M18703</link>
      <description>&lt;P&gt;The trick is to match your business rules. INTNX allows you variations to get end of month value, using an interval of 0, with end or beginning option for example. You haven't specified the rules so we can't help beyond this, but hopefully it gets you started.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 18:00:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-a-date-a-month-and-a-day-in-the-future/m-p/269827#M18703</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-11T18:00:15Z</dc:date>
    </item>
  </channel>
</rss>

