<?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 intnx function in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/intnx-function/m-p/167199#M12859</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;I need to get the last day of the month using the basedate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with the &lt;STRONG&gt;intnx('month',basedate,i, 'same')&lt;/STRONG&gt;. If the basedate=30Apr2014 then the next month is 30May2014, but I need it to be 31May2014. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate if you can help me with it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2014 21:33:50 GMT</pubDate>
    <dc:creator>Lopes</dc:creator>
    <dc:date>2014-09-30T21:33:50Z</dc:date>
    <item>
      <title>intnx function</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/intnx-function/m-p/167199#M12859</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;I need to get the last day of the month using the basedate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with the &lt;STRONG&gt;intnx('month',basedate,i, 'same')&lt;/STRONG&gt;. If the basedate=30Apr2014 then the next month is 30May2014, but I need it to be 31May2014. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate if you can help me with it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 21:33:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/intnx-function/m-p/167199#M12859</guid>
      <dc:creator>Lopes</dc:creator>
      <dc:date>2014-09-30T21:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: intnx function</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/intnx-function/m-p/167200#M12860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RTM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the aligment use END rather than SAME:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000212700.htm" title="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000212700.htm"&gt;SAS(R) 9.2 Language Reference: Dictionary, Fourth Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="strong" style="font-weight: bold;"&gt;'&lt;SPAN class="strongEmph" style="font-style: italic;"&gt;alignment&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 1.4em;"&gt;&lt;A name="a000843847" style="font-family: inherit;"&gt;&lt;/A&gt;controls the position of SAS dates within the interval. You must enclose &lt;SPAN class="strongEmph" style="font-weight: bold; font-style: italic;"&gt;alignment&lt;/SPAN&gt; in quotation marks. &lt;SPAN class="strongEmph" style="font-weight: bold; font-style: italic;"&gt;Alignment&lt;/SPAN&gt; can be one of these values:&lt;/P&gt;&lt;DL style="margin-top: 1.4em;"&gt;&lt;DT&gt;&lt;A name="a000843848" style="font-family: inherit;"&gt;&lt;/A&gt;BEGINNING&lt;/DT&gt;&lt;DD style="margin-bottom: 1.4em;"&gt;&lt;P style="margin: 0 0 1.4em;"&gt;&lt;A name="a000843849" style="font-family: inherit;"&gt;&lt;/A&gt;specifies that the returned date or datetime value is aligned to the beginning of the interval.&lt;/P&gt;&lt;TABLE cellpadding="4" cellspacing="2"&gt;&lt;TBODY style="font-family: inherit;"&gt;&lt;TR style="font-family: inherit;" valign="top"&gt;&lt;TD align="left" class="label" nowrap="nowrap" style="font-weight: bold; background-color: #f5f5f5;" width="95"&gt;Alias:&lt;/TD&gt;&lt;TD align="left" class="bgBlockLight" style="background-color: #f5f5f5;"&gt;&lt;A name="a000843850" style="font-family: inherit;"&gt;&lt;/A&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DD&gt;&lt;DT&gt;&lt;A name="a000843851" style="font-family: inherit;"&gt;&lt;/A&gt;MIDDLE&lt;/DT&gt;&lt;DD style="margin-bottom: 1.4em;"&gt;&lt;P style="margin: 0 0 1.4em;"&gt;&lt;A name="a000843852" style="font-family: inherit;"&gt;&lt;/A&gt;specifies that the returned date or datetime value is aligned to the midpoint of the interval, which is the average of the beginning and ending alignment values.&lt;/P&gt;&lt;TABLE cellpadding="4" cellspacing="2"&gt;&lt;TBODY style="font-family: inherit;"&gt;&lt;TR style="font-family: inherit;" valign="top"&gt;&lt;TD align="left" class="label" nowrap="nowrap" style="font-weight: bold; background-color: #f5f5f5;" width="95"&gt;Alias:&lt;/TD&gt;&lt;TD align="left" class="bgBlockLight" style="background-color: #f5f5f5;"&gt;&lt;A name="a000843853" style="font-family: inherit;"&gt;&lt;/A&gt;M&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DD&gt;&lt;DT&gt;&lt;A name="a000843854" style="font-family: inherit;"&gt;&lt;/A&gt;END&lt;/DT&gt;&lt;DD style="margin-bottom: 1.4em;"&gt;&lt;P style="margin: 0 0 1.4em;"&gt;&lt;A name="a000843855" style="font-family: inherit;"&gt;&lt;/A&gt;specifies that the returned date or datetime value is aligned to the end of the interval.&lt;/P&gt;&lt;TABLE cellpadding="4" cellspacing="2"&gt;&lt;TBODY style="font-family: inherit;"&gt;&lt;TR style="font-family: inherit;" valign="top"&gt;&lt;TD align="left" class="label" nowrap="nowrap" style="font-weight: bold; background-color: #f5f5f5;" width="95"&gt;Alias:&lt;/TD&gt;&lt;TD align="left" class="bgBlockLight" style="background-color: #f5f5f5;"&gt;&lt;A name="a000843856" style="font-family: inherit;"&gt;&lt;/A&gt;E&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DD&gt;&lt;DT&gt;&lt;A name="a002894057" style="font-family: inherit;"&gt;&lt;/A&gt;SAME&lt;/DT&gt;&lt;DD style="margin-bottom: 1.4em;"&gt;&lt;P style="margin: 0 0 1.4em;"&gt;&lt;A name="a002894058" style="font-family: inherit;"&gt;&lt;/A&gt;specifies that the date that is returned has the same alignment as the input date.&lt;/P&gt;&lt;TABLE cellpadding="4" cellspacing="2"&gt;&lt;TBODY style="font-family: inherit;"&gt;&lt;TR style="font-family: inherit;" valign="top"&gt;&lt;TD align="left" class="label" nowrap="nowrap" style="font-weight: bold; background-color: #f5f5f5;" width="95"&gt;Alias:&lt;/TD&gt;&lt;TD align="left" class="bgBlockLight" style="background-color: #f5f5f5;"&gt;&lt;A name="a002894059" style="font-family: inherit;"&gt;&lt;/A&gt;S&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-family: inherit;" valign="top"&gt;&lt;TD align="left" class="label" nowrap="nowrap" style="font-weight: bold; background-color: #f5f5f5;" width="95"&gt;Alias:&lt;/TD&gt;&lt;TD align="left" class="bgBlockLight" style="background-color: #f5f5f5;"&gt;&lt;A name="a002894060" style="font-family: inherit;"&gt;&lt;/A&gt;SAMEDAY&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-family: inherit;" valign="top"&gt;&lt;TD align="left" class="label" nowrap="nowrap" style="font-weight: bold; background-color: #f5f5f5;" width="95"&gt;See:&lt;/TD&gt;&lt;TD align="left" class="bgBlockLight" style="background-color: #f5f5f5;"&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/a000212700.htm#a003114136" style="text-decoration: underline; color: #000066;"&gt;SAME Alignment&lt;/A&gt; for more information.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DD&gt;&lt;/DL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 21:35:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/intnx-function/m-p/167200#M12860</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-09-30T21:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: intnx function</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/intnx-function/m-p/167201#M12861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%let nextmonthend =%sysfunc( intnx( month, "&amp;amp;sysdate9"d, 1, e), date9 ) ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 21:39:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/intnx-function/m-p/167201#M12861</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2014-09-30T21:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: intnx function</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/intnx-function/m-p/167202#M12862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is working now. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 21:43:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/intnx-function/m-p/167202#M12862</guid>
      <dc:creator>Lopes</dc:creator>
      <dc:date>2014-09-30T21:43:26Z</dc:date>
    </item>
  </channel>
</rss>

