<?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 format a char date from mm/dd/yy to Month Day, Year in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548742#M152211</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/44569"&gt;@Shivam&lt;/a&gt; did your run the code or just read the code?&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2019 11:32:50 GMT</pubDate>
    <dc:creator>VDD</dc:creator>
    <dc:date>2019-04-05T11:32:50Z</dc:date>
    <item>
      <title>How to format a char date from mm/dd/yy to Month Day, Year</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548673#M152177</link>
      <description>&lt;P&gt;Data I have:&lt;/P&gt;
&lt;P&gt;10/22/2005&lt;/P&gt;
&lt;P&gt;01/10/2010&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data I want:&lt;/P&gt;
&lt;P&gt;October 22, 2005&lt;/P&gt;
&lt;P&gt;January 10, 2010&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If possible, I would the day of the week for each date. Example: 04/04/2019 becomes Thursday, April 4, 2019&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 23:12:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548673#M152177</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2019-04-04T23:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to format a char date from mm/dd/yy to Month Day, Year</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548674#M152178</link>
      <description>&lt;DIV&gt;&lt;FONT style="background-color: #eaeaea;"&gt;&lt;BR /&gt;Data have;&lt;BR /&gt;input date $10.;&lt;BR /&gt;cards;&lt;BR /&gt;10/22/2005&lt;BR /&gt;01/10/2010&lt;BR /&gt;;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT style="background-color: #eaeaea;"&gt;data want;&lt;BR /&gt;set have;&lt;BR /&gt;new_date=input(date,anydtdte21.);&lt;BR /&gt;weekday=input(date,anydtdte21.);&lt;BR /&gt;format weekday DOWNAME. new_date worddate.;&lt;BR /&gt;run;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Apr 2019 23:40:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548674#M152178</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-04-04T23:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to format a char date from mm/dd/yy to Month Day, Year</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548675#M152179</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/122002"&gt;@VDD&lt;/a&gt;&amp;nbsp; &amp;nbsp;Good answer, but may i ask why are you using anydt informat as opposed to mmddyy informat. No biggie but just wondering&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 00:03:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548675#M152179</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-04-05T00:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to format a char date from mm/dd/yy to Month Day, Year</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548676#M152180</link>
      <description>&lt;P&gt;I used that format in the second date step just because it was usable there.&amp;nbsp; I could have used the mmddyy10. format.&lt;/P&gt;
&lt;P&gt;here is a sample where you could have the full request in 1 variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="background-color: #ffffff;"&gt;data want;&lt;BR /&gt;set have;&lt;BR /&gt;new_date=input(date,anydtdte21.);&lt;BR /&gt;weekday=input(date,anydtdte21.);&lt;BR /&gt;one_date = input(date,anydtdte21.);&lt;BR /&gt;format weekday DOWNAME. new_date worddate. one_date weekdate.;&lt;BR /&gt;run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 00:14:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548676#M152180</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-04-05T00:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to format a char date from mm/dd/yy to Month Day, Year</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548687#M152183</link>
      <description>&lt;P&gt;Try this,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you'll get weekday and date in same column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
format date WEEKDATX23.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Apr 2019 05:09:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548687#M152183</guid>
      <dc:creator>Shivam</dc:creator>
      <dc:date>2019-04-05T05:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to format a char date from mm/dd/yy to Month Day, Year</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548742#M152211</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/44569"&gt;@Shivam&lt;/a&gt; did your run the code or just read the code?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 11:32:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548742#M152211</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-04-05T11:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to format a char date from mm/dd/yy to Month Day, Year</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548744#M152212</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I ran your code, that worked fine. why?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 11:53:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-format-a-char-date-from-mm-dd-yy-to-Month-Day-Year/m-p/548744#M152212</guid>
      <dc:creator>Shivam</dc:creator>
      <dc:date>2019-04-05T11:53:39Z</dc:date>
    </item>
  </channel>
</rss>

