<?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 Number Format to Date Format in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Number-Format-to-Date-Format/m-p/354263#M23346</link>
    <description>&lt;P&gt;Good afternoon all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying for the past couple of days to join two tables, however, I cannot join them because of different data types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In one table, I have a column 'PERIOD_START_DT' (coming from a datasource that cannot be changed) with a $10. number format which reads '2015-10-25'. The other table has a column 'YrWk' with a date format MMDDYY10. which reads '04/02/2017'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to convert &lt;SPAN&gt;PERIOD_START_DT to MMDDYY10, but I havent had any luck. First I tried chaning the format in the PROC SQL statment, then I moved to try to use a DATA step before a PROC SQL step to format it. Both were equally unsuccessful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any recommendations on how to approach this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2017 19:46:05 GMT</pubDate>
    <dc:creator>JBLABER</dc:creator>
    <dc:date>2017-04-27T19:46:05Z</dc:date>
    <item>
      <title>Number Format to Date Format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Number-Format-to-Date-Format/m-p/354263#M23346</link>
      <description>&lt;P&gt;Good afternoon all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying for the past couple of days to join two tables, however, I cannot join them because of different data types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In one table, I have a column 'PERIOD_START_DT' (coming from a datasource that cannot be changed) with a $10. number format which reads '2015-10-25'. The other table has a column 'YrWk' with a date format MMDDYY10. which reads '04/02/2017'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to convert &lt;SPAN&gt;PERIOD_START_DT to MMDDYY10, but I havent had any luck. First I tried chaning the format in the PROC SQL statment, then I moved to try to use a DATA step before a PROC SQL step to format it. Both were equally unsuccessful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any recommendations on how to approach this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 19:46:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Number-Format-to-Date-Format/m-p/354263#M23346</guid>
      <dc:creator>JBLABER</dc:creator>
      <dc:date>2017-04-27T19:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Number Format to Date Format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Number-Format-to-Date-Format/m-p/354267#M23348</link>
      <description>&lt;PRE&gt;data want (drop=_:);
  set have (rename=(PERIOD_START_DT=_PERIOD_START_DT));
  format PERIOD_START_DT MMDDYY10.;
  PERIOD_START_DT=input(_PERIOD_START_DT,yymmdd10.);
run;
&lt;/PRE&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 19:55:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Number-Format-to-Date-Format/m-p/354267#M23348</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-27T19:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Number Format to Date Format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Number-Format-to-Date-Format/m-p/354271#M23349</link>
      <description>&lt;P&gt;.... THANK YOU SO MUCH.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought I had tried that exact same thing but clearly I didnt becasue this worked perfectly!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 20:06:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Number-Format-to-Date-Format/m-p/354271#M23349</guid>
      <dc:creator>JBLABER</dc:creator>
      <dc:date>2017-04-27T20:06:49Z</dc:date>
    </item>
  </channel>
</rss>

