<?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: End of month in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/End-of-month/m-p/84571#M18240</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;Does the following help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/31/443.html"&gt;http://support.sas.com/kb/31/443.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2012 18:23:39 GMT</pubDate>
    <dc:creator>Amir</dc:creator>
    <dc:date>2012-10-03T18:23:39Z</dc:date>
    <item>
      <title>End of month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/End-of-month/m-p/84570#M18239</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 calculate in the end of the month day (e.i. 30,31,28,29) . Does anybody has any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 17:53:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/End-of-month/m-p/84570#M18239</guid>
      <dc:creator>oht</dc:creator>
      <dc:date>2012-10-03T17:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: End of month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/End-of-month/m-p/84571#M18240</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;Does the following help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/31/443.html"&gt;http://support.sas.com/kb/31/443.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 18:23:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/End-of-month/m-p/84571#M18240</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2012-10-03T18:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: End of month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/End-of-month/m-p/84572#M18241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You didn't indicate anything about your data.&amp;nbsp; If they are just date fields and you want to know how many days were in the month represented by the dates you could use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input havedate date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format havedate date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; days_in_month=day(intnx('month',havedate,0,'e'));&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;03OCT2012&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 18:24:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/End-of-month/m-p/84572#M18241</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-10-03T18:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: End of month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/End-of-month/m-p/84573#M18242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I am looking for. Thanks for your help !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 18:29:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/End-of-month/m-p/84573#M18242</guid>
      <dc:creator>oht</dc:creator>
      <dc:date>2012-10-03T18:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: End of month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/End-of-month/m-p/84574#M18243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly the same:&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input date mmddyy10.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format date mmddyy10.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 01/23/2012&lt;/P&gt;&lt;P&gt;&amp;nbsp; 02/04/2012&lt;/P&gt;&lt;P&gt;&amp;nbsp; 09/21/2012&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt; day_at_end_of_month=day(intnx('month',date,0,'e'));&lt;/P&gt;&lt;P&gt; proc print;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 18:29:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/End-of-month/m-p/84574#M18243</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-10-03T18:29:30Z</dc:date>
    </item>
  </channel>
</rss>

