<?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 Converting a numeric month value into MMDDYY8. format in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Converting-a-numeric-month-value-into-MMDDYY8-format/m-p/297826#M20284</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking to use an INTNX statement in order to capture the month end date of a value, however I do not have&amp;nbsp;a 'date' field that would normally be entered in the INTNX statement. What I do have is a column listing the numeric value of a month (i.e. 5 if it's May), and a 2nd column listing the numeric value of the year (i.e. 2016).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any recommendations as to the fastest way to use the '5' and '2016' values to end up with a 05/31/2016 format?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cait&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12969i86667EBB5D07F5EA/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sas.GIF" title="sas.GIF" /&gt;</description>
    <pubDate>Mon, 12 Sep 2016 19:32:15 GMT</pubDate>
    <dc:creator>Caisha</dc:creator>
    <dc:date>2016-09-12T19:32:15Z</dc:date>
    <item>
      <title>Converting a numeric month value into MMDDYY8. format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Converting-a-numeric-month-value-into-MMDDYY8-format/m-p/297826#M20284</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking to use an INTNX statement in order to capture the month end date of a value, however I do not have&amp;nbsp;a 'date' field that would normally be entered in the INTNX statement. What I do have is a column listing the numeric value of a month (i.e. 5 if it's May), and a 2nd column listing the numeric value of the year (i.e. 2016).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any recommendations as to the fastest way to use the '5' and '2016' values to end up with a 05/31/2016 format?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cait&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12969i86667EBB5D07F5EA/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sas.GIF" title="sas.GIF" /&gt;</description>
      <pubDate>Mon, 12 Sep 2016 19:32:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Converting-a-numeric-month-value-into-MMDDYY8-format/m-p/297826#M20284</guid>
      <dc:creator>Caisha</dc:creator>
      <dc:date>2016-09-12T19:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a numberic month value into MMDDYY8. format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Converting-a-numeric-month-value-into-MMDDYY8-format/m-p/297832#M20285</link>
      <description>&lt;P&gt;Assuming your month and year values are numeric, here's a phrase you could enter wherever INTNX is expecting to see a date:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mdy(month, 1, year)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 18:53:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Converting-a-numeric-month-value-into-MMDDYY8-format/m-p/297832#M20285</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-09-12T18:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a numberic month value into MMDDYY8. format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Converting-a-numeric-month-value-into-MMDDYY8-format/m-p/297837#M20286</link>
      <description>&lt;P&gt;So that would be:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;lastDayOfMonth = intnx("MONTH", mdy(month, 1, year), 0, "END");
format lastDayOfMonth mmddyy10.;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Sep 2016 19:21:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Converting-a-numeric-month-value-into-MMDDYY8-format/m-p/297837#M20286</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-09-12T19:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a numberic month value into MMDDYY8. format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Converting-a-numeric-month-value-into-MMDDYY8-format/m-p/298453#M20337</link>
      <description>Hello PGStats,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for your response, it works perfectly! Thanks for helping me learn (I never used the MDY function).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Greatly appreciated!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Caisha&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Sep 2016 21:58:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Converting-a-numeric-month-value-into-MMDDYY8-format/m-p/298453#M20337</guid>
      <dc:creator>Caisha</dc:creator>
      <dc:date>2016-09-14T21:58:56Z</dc:date>
    </item>
  </channel>
</rss>

