<?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 convert date in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/convert-date/m-p/450428#M29121</link>
    <description>&lt;P&gt;I have date in DDMMYYYY (29mar2018) format and i want to convert it to MMM-YYYY (Mar-2018)&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Apr 2018 18:50:12 GMT</pubDate>
    <dc:creator>hk2013</dc:creator>
    <dc:date>2018-04-02T18:50:12Z</dc:date>
    <item>
      <title>convert date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/convert-date/m-p/450428#M29121</link>
      <description>&lt;P&gt;I have date in DDMMYYYY (29mar2018) format and i want to convert it to MMM-YYYY (Mar-2018)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 18:50:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/convert-date/m-p/450428#M29121</guid>
      <dc:creator>hk2013</dc:creator>
      <dc:date>2018-04-02T18:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: convert date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/convert-date/m-p/450445#M29122</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Example;
	length OutDate $8;
	InDate = "29mar2018";
	SASDateValue = input(InDate, date9.);
	format SASDateValue date9.;
	OutDate = put(SASDateValue, monname3.)||"-"||put(SASDateValue, year4.);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Apr 2018 19:39:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/convert-date/m-p/450445#M29122</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2018-04-02T19:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: convert date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/convert-date/m-p/450730#M29144</link>
      <description>&lt;P&gt;SAS allows for the creation of your own date formats using the picture statement in proc format:&lt;/P&gt;
&lt;PRE&gt;proc format library=work;
picture mymonyy (default=8)
low-high ='%b-%Y' (datatype=date);
run;&lt;/PRE&gt;
&lt;P&gt;If the value is an actual SAS date valued numeric&amp;nbsp;then use the mymonyy. format for any procedure to display the value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that in the code aboe the&amp;nbsp;%b and %Y are case sensitive. Capitalization of the month will depend on your Local setting any you may want to try %3B if %b doesn't look the way you want.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 16:04:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/convert-date/m-p/450730#M29144</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-03T16:04:49Z</dc:date>
    </item>
  </channel>
</rss>

