<?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: Converting Month From Number to Name in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Converting-Month-From-Number-to-Name/m-p/543754#M150325</link>
    <description>&lt;P&gt;try this month = today();&lt;/P&gt;
&lt;P&gt;see if that helps demonstrate that the value of 3 you have assigned to month is referencing Jan 3, 1960&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data T;
  Month = today(); 
  Month_Str = put(Month,monname3.);  ; 
Run; 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;the first argument is the SAS date value. the second argument is the format&lt;/P&gt;</description>
    <pubDate>Sun, 17 Mar 2019 01:49:00 GMT</pubDate>
    <dc:creator>VDD</dc:creator>
    <dc:date>2019-03-17T01:49:00Z</dc:date>
    <item>
      <title>Converting Month From Number to Name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Converting-Month-From-Number-to-Name/m-p/543752#M150323</link>
      <description>&lt;P&gt;All,&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Can someone tell me what I am doing wrong in the following data step. I get 'Jan' where I would expect 'Mar'&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data T;
  Month = 3; 
  Month_Str = put(Month,monname3.);  ; 
Run; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Best&amp;nbsp;&lt;/P&gt;&lt;P&gt;Uday&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2019 00:46:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Converting-Month-From-Number-to-Name/m-p/543752#M150323</guid>
      <dc:creator>UdayGuntupalli</dc:creator>
      <dc:date>2019-03-17T00:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Month From Number to Name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Converting-Month-From-Number-to-Name/m-p/543754#M150325</link>
      <description>&lt;P&gt;try this month = today();&lt;/P&gt;
&lt;P&gt;see if that helps demonstrate that the value of 3 you have assigned to month is referencing Jan 3, 1960&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data T;
  Month = today(); 
  Month_Str = put(Month,monname3.);  ; 
Run; 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;the first argument is the SAS date value. the second argument is the format&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2019 01:49:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Converting-Month-From-Number-to-Name/m-p/543754#M150325</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-03-17T01:49:00Z</dc:date>
    </item>
  </channel>
</rss>

