<?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: date to yyyymm as numeric in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/date-to-yyyymm-as-numeric/m-p/589412#M14896</link>
    <description>Thank you! That did the trick!</description>
    <pubDate>Tue, 17 Sep 2019 16:24:07 GMT</pubDate>
    <dc:creator>jffeudo86</dc:creator>
    <dc:date>2019-09-17T16:24:07Z</dc:date>
    <item>
      <title>date to yyyymm as numeric</title>
      <link>https://communities.sas.com/t5/New-SAS-User/date-to-yyyymm-as-numeric/m-p/589409#M14893</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone help me with converting a date to yyyymm (numeric)?&amp;nbsp; Here's how I would like to use my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let xdate = '01NOV2018'd;&lt;BR /&gt;%let yymm = &amp;lt;code here to return 201811 as numeric&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;select *&lt;BR /&gt;from xx&lt;BR /&gt;where timeframe = &amp;amp;yymm;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 16:17:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/date-to-yyyymm-as-numeric/m-p/589409#M14893</guid>
      <dc:creator>jffeudo86</dc:creator>
      <dc:date>2019-09-17T16:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: date to yyyymm as numeric</title>
      <link>https://communities.sas.com/t5/New-SAS-User/date-to-yyyymm-as-numeric/m-p/589410#M14894</link>
      <description>&lt;P&gt;Please don't ask why do I have to use xdate and go straight to 201811.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 16:21:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/date-to-yyyymm-as-numeric/m-p/589410#M14894</guid>
      <dc:creator>jffeudo86</dc:creator>
      <dc:date>2019-09-17T16:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: date to yyyymm as numeric</title>
      <link>https://communities.sas.com/t5/New-SAS-User/date-to-yyyymm-as-numeric/m-p/589411#M14895</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/271494"&gt;@jffeudo86&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let xdate = '01NOV2018'd;
%let yymm = %sysfunc(putn(%sysevalf(&amp;amp;xdate),yymmn6.));
%put &amp;amp;=yymm;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I will not ask "why" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 16:21:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/date-to-yyyymm-as-numeric/m-p/589411#M14895</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-09-17T16:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: date to yyyymm as numeric</title>
      <link>https://communities.sas.com/t5/New-SAS-User/date-to-yyyymm-as-numeric/m-p/589412#M14896</link>
      <description>Thank you! That did the trick!</description>
      <pubDate>Tue, 17 Sep 2019 16:24:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/date-to-yyyymm-as-numeric/m-p/589412#M14896</guid>
      <dc:creator>jffeudo86</dc:creator>
      <dc:date>2019-09-17T16:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: date to yyyymm as numeric</title>
      <link>https://communities.sas.com/t5/New-SAS-User/date-to-yyyymm-as-numeric/m-p/589413#M14897</link>
      <description>&lt;P&gt;You're always welcome. Have a nice day! Cheers!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 16:25:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/date-to-yyyymm-as-numeric/m-p/589413#M14897</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-09-17T16:25:27Z</dc:date>
    </item>
  </channel>
</rss>

