<?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: How to combine year and month columns into one column in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/536563#M147457</link>
    <description>&lt;P&gt;To store a DATE you need to store an actual date. There is no month 0 and SAS does not support dates as old as year 0 (which version of the calendar would it choose?).&lt;/P&gt;
&lt;P&gt;If you want to store a date then you could use special missing for your other possible values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if nmiss(month,year)=0 then date = mdy(Month,1,Year);
Else if missing(month) then date=.Y;
else if missing(year) then date=.M;
else date=.;
format Date mmyys7.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note that you would still need to keep the MONTH and YEAR variables to know which non-missing year the .Y value represents for a particular observation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Feb 2019 19:57:40 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-02-18T19:57:40Z</dc:date>
    <item>
      <title>How to combine year and month columns into one column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/536039#M147255</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a column that has year and another column has month. How do I combine these two columns and get a YYYY/MM information in one column?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Year&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Month&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Date (this is what I want)&lt;/P&gt;&lt;P&gt;001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;08&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2006/08&lt;/P&gt;&lt;P&gt;002&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2008&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2008/12&lt;/P&gt;&lt;P&gt;003&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2012&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;07&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2012/07&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 20:36:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/536039#M147255</guid>
      <dc:creator>Denali</dc:creator>
      <dc:date>2019-02-15T20:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine year and month columns into one column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/536042#M147258</link>
      <description>&lt;P&gt;You could use CATX()&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;want = catx('/', year, put(month, z2.));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or you can create a SAS date and apply a format. Not sure if there's an exact format for what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;want = mdy(month, year, 1);
format want yymm6.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/140136"&gt;@Denali&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a column that has year and another column has month. How do I combine these two columns and get a YYYY/MM information in one column?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Year&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Month&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Date (this is what I want)&lt;/P&gt;
&lt;P&gt;001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;08&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2006/08&lt;/P&gt;
&lt;P&gt;002&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2008&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2008/12&lt;/P&gt;
&lt;P&gt;003&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2012&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;07&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2012/07&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 20:40:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/536042#M147258</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-15T20:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine year and month columns into one column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/536043#M147259</link>
      <description>&lt;P&gt;If MONTH is character then CATX() is probably want you want.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Date_code = catx('/',year,month);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If MONTH is numeric then you will probably want to use PUT() to let you force the addition of the leading zero for Jan to Sept.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Date_code = catx('/',year,put(month,z2.));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you want to make an actual DATE then you will need to pick a day of the month.&amp;nbsp; You could then apply a format that will display the date using just the year and month.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if your year and month variables are numeric then you could do.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;date = mdy(month,1,year);
format date yymms7.;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Feb 2019 20:43:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/536043#M147259</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-02-15T20:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine year and month columns into one column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/536559#M147454</link>
      <description>&lt;P&gt;Hi Tom,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your code. It worked well when both columns contain data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it will show missing if someone only has either year or month data. Is there a way to keep the information as mush as possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;YEAR&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MONTH&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Date (this is what I want)&lt;/P&gt;&lt;P&gt;001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2012&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 08&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;08/2012&lt;/P&gt;&lt;P&gt;002&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2000&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10/2000&lt;/P&gt;&lt;P&gt;003&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;06&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;06/&lt;STRONG&gt;0000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;004&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2010&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 99&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;00&lt;/STRONG&gt;/2010&lt;/P&gt;&lt;P&gt;005&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2009&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 88&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;00&lt;/STRONG&gt;/2009&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used below code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date = mdy(Month,1,Year);&lt;/P&gt;&lt;P&gt;format Date mmyys7.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: "blank", "88" or "99" are "missing". In the Date variable, I simply wrote "00"&amp;nbsp; represents those do not have month info and "0000" for those without year info. Does anyone has better way to keep the missing info in the "Date" variable?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 19:49:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/536559#M147454</guid>
      <dc:creator>Denali</dc:creator>
      <dc:date>2019-02-18T19:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine year and month columns into one column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/536563#M147457</link>
      <description>&lt;P&gt;To store a DATE you need to store an actual date. There is no month 0 and SAS does not support dates as old as year 0 (which version of the calendar would it choose?).&lt;/P&gt;
&lt;P&gt;If you want to store a date then you could use special missing for your other possible values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if nmiss(month,year)=0 then date = mdy(Month,1,Year);
Else if missing(month) then date=.Y;
else if missing(year) then date=.M;
else date=.;
format Date mmyys7.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note that you would still need to keep the MONTH and YEAR variables to know which non-missing year the .Y value represents for a particular observation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 19:57:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/536563#M147457</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-02-18T19:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine year and month columns into one column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/556589#M155047</link>
      <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;Thanks for sharing your code.&lt;BR /&gt;&lt;BR /&gt;Can you please explain why 1 is needed in the below code:&lt;BR /&gt;&lt;BR /&gt;date = mdy(month,1,year);&lt;BR /&gt;format date yymms7.;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Mon, 06 May 2019 22:03:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/556589#M155047</guid>
      <dc:creator>Rishi16</dc:creator>
      <dc:date>2019-05-06T22:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine year and month columns into one column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/556608#M155059</link>
      <description>&lt;P&gt;SAS dates require all components to be filled, including the day portion. MDY = MonthDayYear, so the second parameter is the day which in this case is being hardcoded to the first of the month. But it's not shown in the final results so it can arbitrarily be set to almost anything. 1 is easy because every month has a 1st and it means the same thing. Mid month or end of the month would vary by month.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/273107"&gt;@Rishi16&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Hi Tom,&lt;BR /&gt;&lt;BR /&gt;Thanks for sharing your code.&lt;BR /&gt;&lt;BR /&gt;Can you please explain why 1 is needed in the below code:&lt;BR /&gt;&lt;BR /&gt;date = mdy(month,1,year);&lt;BR /&gt;format date yymms7.;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 22:47:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/556608#M155059</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-05-06T22:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine year and month columns into one column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/556616#M155063</link>
      <description>Thanks a lot Reeza</description>
      <pubDate>Mon, 06 May 2019 23:44:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/556616#M155063</guid>
      <dc:creator>Rishi16</dc:creator>
      <dc:date>2019-05-06T23:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine year and month columns into one column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/751642#M236641</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;When I use this code:&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;date = mdy(month,1,year);
format date yymms7.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I get period like this 2021M01 not 2021/01.&lt;/P&gt;
&lt;P&gt;What did i do wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 08:09:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/751642#M236641</guid>
      <dc:creator>J_J_J</dc:creator>
      <dc:date>2021-07-02T08:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine year and month columns into one column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/751703#M236671</link>
      <description>&lt;P&gt;What is the difference?&amp;nbsp; Both are valid ways to display a date in the first month of the year 2021.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most likely you changed the format attached to the variable from YYMMS to YYMM instead.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 11:55:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/751703#M236671</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-07-02T11:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine year and month columns into one column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/755619#M238490</link>
      <description>I have current date taking from DATE() and want to conert it to MMYYYY format. How do I combine these two? I tried substr and string but thats not working as expected?&lt;BR /&gt;&lt;BR /&gt;ID Year Month Date (this is what I want)&lt;BR /&gt;&lt;BR /&gt;001 2021 07 072021&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jul 2021 13:42:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/755619#M238490</guid>
      <dc:creator>Sirisha1520</dc:creator>
      <dc:date>2021-07-21T13:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine year and month columns into one column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/755712#M238528</link>
      <description>You don't convert it to MMYYY format, you apply a format. This way you don't change the underlying value but only the presentation. Otherwise your data will also sort alphabetically instead of via the calendar.&lt;BR /&gt;&lt;BR /&gt;FORMAT variableName MMYYN6.;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jul 2021 17:31:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-combine-year-and-month-columns-into-one-column/m-p/755712#M238528</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-07-21T17:31:48Z</dc:date>
    </item>
  </channel>
</rss>

