<?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: i have a date value 201904 and i want Apr19 .  how i can do it please suggest me with code. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/i-have-a-date-value-201904-and-i-want-Apr19-how-i-can-do-it/m-p/818048#M322892</link>
    <description>&lt;P&gt;Assuming that's the &lt;U&gt;&lt;EM&gt;only&lt;/EM&gt;&lt;/U&gt; date pattern you have.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
	date = input("201904", yymmn6.);
	date_want = mdy(month(date), 22, year(date));
	format date yymmn6. date_want date9.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="maguiremq_0-1655205359295.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72271i017DE28FE87F6845/image-size/medium?v=v2&amp;amp;px=400" role="button" title="maguiremq_0-1655205359295.png" alt="maguiremq_0-1655205359295.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2022 11:16:21 GMT</pubDate>
    <dc:creator>maguiremq</dc:creator>
    <dc:date>2022-06-14T11:16:21Z</dc:date>
    <item>
      <title>i have a date value 201904 and i want Apr19 .  how i can do it please suggest me with code.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/i-have-a-date-value-201904-and-i-want-Apr19-how-i-can-do-it/m-p/818044#M322889</link>
      <description />
      <pubDate>Tue, 14 Jun 2022 11:11:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/i-have-a-date-value-201904-and-i-want-Apr19-how-i-can-do-it/m-p/818044#M322889</guid>
      <dc:creator>Sagar_Pawar</dc:creator>
      <dc:date>2022-06-14T11:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: i have a date value 201904 and i want Apr19 .  how i can do it please suggest me with code.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/i-have-a-date-value-201904-and-i-want-Apr19-how-i-can-do-it/m-p/818048#M322892</link>
      <description>&lt;P&gt;Assuming that's the &lt;U&gt;&lt;EM&gt;only&lt;/EM&gt;&lt;/U&gt; date pattern you have.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
	date = input("201904", yymmn6.);
	date_want = mdy(month(date), 22, year(date));
	format date yymmn6. date_want date9.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="maguiremq_0-1655205359295.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72271i017DE28FE87F6845/image-size/medium?v=v2&amp;amp;px=400" role="button" title="maguiremq_0-1655205359295.png" alt="maguiremq_0-1655205359295.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 11:16:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/i-have-a-date-value-201904-and-i-want-Apr19-how-i-can-do-it/m-p/818048#M322892</guid>
      <dc:creator>maguiremq</dc:creator>
      <dc:date>2022-06-14T11:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: i have a date value 201904 and i want Apr19 .  how i can do it please suggest me with code.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/i-have-a-date-value-201904-and-i-want-Apr19-how-i-can-do-it/m-p/818049#M322893</link>
      <description>&lt;P&gt;We can only supply useful code if we can see the data or have a very clear, unambiguous description of it.&lt;/P&gt;
&lt;P&gt;So we need to know, apart from the value you see, the attributes of the variable. Type and assigned display format are essential.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 11:18:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/i-have-a-date-value-201904-and-i-want-Apr19-how-i-can-do-it/m-p/818049#M322893</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-14T11:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: i have a date value 201904 and i want Apr19 .  how i can do it please suggest me with code.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/i-have-a-date-value-201904-and-i-want-Apr19-how-i-can-do-it/m-p/818051#M322895</link>
      <description>&lt;P&gt;use a format.&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/vdmmlcdc/8.1/ds2ref/p1deinudjfd5dan1r5xoanxqnfsk.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/vdmmlcdc/8.1/ds2ref/p1deinudjfd5dan1r5xoanxqnfsk.htm&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;a=put(18985,monyy7.); 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Jun 2022 11:20:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/i-have-a-date-value-201904-and-i-want-Apr19-how-i-can-do-it/m-p/818051#M322895</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-06-14T11:20:38Z</dc:date>
    </item>
  </channel>
</rss>

