<?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 convert string to date format YYMM in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-convert-string-to-date-format-YYMM/m-p/699505#M37625</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    chardate='2020.06';
    numdate=input(compress(chardate,'.'),yymmn6.);
    format numdate yymmd8.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 17 Nov 2020 14:18:51 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-11-17T14:18:51Z</dc:date>
    <item>
      <title>How to convert string to date format YYMM</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-convert-string-to-date-format-YYMM/m-p/699504#M37624</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I wonder how to convert char into date. I have a variable 'DATE' in character format like below&lt;/P&gt;
&lt;P&gt;DATE&lt;/P&gt;
&lt;P&gt;2020.06&lt;/P&gt;
&lt;P&gt;I need to convert this to 2020-06 in date format&lt;/P&gt;
&lt;P&gt;I've tried&amp;nbsp;input(t1.DATA,YYMMd.) hopeless what I got is '13JUL1965'&lt;/P&gt;
&lt;P&gt;Can you help me with solution?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 14:16:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-convert-string-to-date-format-YYMM/m-p/699504#M37624</guid>
      <dc:creator>PatrykSAS</dc:creator>
      <dc:date>2020-11-17T14:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert string to date format YYMM</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-convert-string-to-date-format-YYMM/m-p/699505#M37625</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    chardate='2020.06';
    numdate=input(compress(chardate,'.'),yymmn6.);
    format numdate yymmd8.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Nov 2020 14:18:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-convert-string-to-date-format-YYMM/m-p/699505#M37625</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-17T14:18:51Z</dc:date>
    </item>
  </channel>
</rss>

