<?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 Date Conversion from MMM-YY to sortable Date in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Date-Conversion-from-MMM-YY-to-sortable-Date/m-p/563789#M10934</link>
    <description>&lt;P&gt;We have a database with a date field in MMM-YY format.&amp;nbsp; Is there a method to convert to a sortable date into a new date column with the last day in the month specified.&amp;nbsp; JAN-19&amp;nbsp; to be 01/31/2019.&amp;nbsp; FEB-19 to be 02/28/2019.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2019 17:33:57 GMT</pubDate>
    <dc:creator>jskarda</dc:creator>
    <dc:date>2019-06-05T17:33:57Z</dc:date>
    <item>
      <title>Date Conversion from MMM-YY to sortable Date</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Date-Conversion-from-MMM-YY-to-sortable-Date/m-p/563789#M10934</link>
      <description>&lt;P&gt;We have a database with a date field in MMM-YY format.&amp;nbsp; Is there a method to convert to a sortable date into a new date column with the last day in the month specified.&amp;nbsp; JAN-19&amp;nbsp; to be 01/31/2019.&amp;nbsp; FEB-19 to be 02/28/2019.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 17:33:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Date-Conversion-from-MMM-YY-to-sortable-Date/m-p/563789#M10934</guid>
      <dc:creator>jskarda</dc:creator>
      <dc:date>2019-06-05T17:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Date Conversion from MMM-YY to sortable Date</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Date-Conversion-from-MMM-YY-to-sortable-Date/m-p/563799#M10937</link>
      <description>&lt;P&gt;Please try intnx&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input date $;
newdate=intnx('month',input(cats('01-',date),anydtdte.),0,'end');
format newdate date9.;
cards;
JAN-19
Feb-19
;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Jun 2019 18:01:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Date-Conversion-from-MMM-YY-to-sortable-Date/m-p/563799#M10937</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-06-05T18:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Date Conversion from MMM-YY to sortable Date</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Date-Conversion-from-MMM-YY-to-sortable-Date/m-p/563867#M10948</link>
      <description>&lt;P&gt;Or minor difference from &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12151"&gt;@Jagadishkatam&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data have;
input date $;
newdate=intnx('month',input(date,monyy.),0,'end');
format newdate date9.;
cards;
JAN-19
Feb-19
;
&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Jun 2019 20:01:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Date-Conversion-from-MMM-YY-to-sortable-Date/m-p/563867#M10948</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-06-05T20:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date Conversion from MMM-YY to sortable Date</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Date-Conversion-from-MMM-YY-to-sortable-Date/m-p/563888#M10951</link>
      <description>Thank you. Could you please return in the form of a statement?&lt;BR /&gt;proc sql;&lt;BR /&gt;update WORK.FILE&lt;BR /&gt;set COLUMNB=intnx('month',input(cats('01-',date),anydtdte.),0,'end');&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;DATA in its original format is in a column named COLUMNA. It could contain&lt;BR /&gt;any month or year, but we would like the last day in any given month&lt;BR /&gt;&lt;BR /&gt;Stored Value in COLUMNA='APR-19'&lt;BR /&gt;New value produced in COLUMNB should be April, 30, 2019 in a sortable format.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Jun 2019 20:55:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Date-Conversion-from-MMM-YY-to-sortable-Date/m-p/563888#M10951</guid>
      <dc:creator>jskarda</dc:creator>
      <dc:date>2019-06-05T20:55:51Z</dc:date>
    </item>
  </channel>
</rss>

