<?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: Convert month number into month name in GERMAN in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Convert-month-number-into-month-name-in-GERMAN/m-p/693162#M24960</link>
    <description>&lt;P&gt;Look here:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
do mon = 1 to 12;
  put mon NLSTRMON10.;
  put mon NLSTRMON10.1;
  put mon NLSTRMON10.2;
  put mon NLSTRMON10.3;
  date = mdy(mon,1,2020);
  put date NLDATEMN10.;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 21 Oct 2020 13:12:16 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-10-21T13:12:16Z</dc:date>
    <item>
      <title>Convert month number into month name in GERMAN</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Convert-month-number-into-month-name-in-GERMAN/m-p/693155#M24959</link>
      <description>&lt;P&gt;Dear SAS experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I Need to convert the numbers of the month in the year into the month names, in german:&lt;/P&gt;&lt;P&gt;1 =&amp;gt; Januar&lt;/P&gt;&lt;P&gt;2 =&amp;gt; Februar&lt;/P&gt;&lt;P&gt;3=&amp;gt; März&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that ther is such a Format like deudfmn10. but I can't write the appropriate Code.&lt;/P&gt;&lt;P&gt;I Need the correction of this, wehre date is the number of the month&lt;/P&gt;&lt;P&gt;Monat = &lt;FONT face="Courier New" size="3"&gt;tranwrd(put(date,&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;deudfmn10.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;),&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'ä'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;,&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'ae'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;How can I get this?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 13:03:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Convert-month-number-into-month-name-in-GERMAN/m-p/693155#M24959</guid>
      <dc:creator>PierreYvesILY</dc:creator>
      <dc:date>2020-10-21T13:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Convert month number into month name in GERMAN</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Convert-month-number-into-month-name-in-GERMAN/m-p/693162#M24960</link>
      <description>&lt;P&gt;Look here:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
do mon = 1 to 12;
  put mon NLSTRMON10.;
  put mon NLSTRMON10.1;
  put mon NLSTRMON10.2;
  put mon NLSTRMON10.3;
  date = mdy(mon,1,2020);
  put date NLDATEMN10.;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Oct 2020 13:12:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Convert-month-number-into-month-name-in-GERMAN/m-p/693162#M24960</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-21T13:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Convert month number into month name in GERMAN</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Convert-month-number-into-month-name-in-GERMAN/m-p/693172#M24961</link>
      <description>&lt;P&gt;That format needs a DATE, not a month, and defaults to right aligned.&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
do mon = 1 to 12;
  date = mdy(mon,1,2020);
  length monat $10;
  Monat = tranwrd(put(date,deudfmn20.-l),'ä','ae');
  put mon= date= date9. monat=;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;mon=1 date=01JAN2020 Monat=Januar
mon=2 date=01FEB2020 Monat=Februar
mon=3 date=01MAR2020 Monat=Maerz
mon=4 date=01APR2020 Monat=April
mon=5 date=01MAY2020 Monat=Mai
mon=6 date=01JUN2020 Monat=Juni
mon=7 date=01JUL2020 Monat=Juli
mon=8 date=01AUG2020 Monat=August
mon=9 date=01SEP2020 Monat=September
mon=10 date=01OCT2020 Monat=Oktober
mon=11 date=01NOV2020 Monat=November
mon=12 date=01DEC2020 Monat=Dezember
&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Oct 2020 13:30:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Convert-month-number-into-month-name-in-GERMAN/m-p/693172#M24961</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-10-21T13:30:57Z</dc:date>
    </item>
  </channel>
</rss>

