<?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: what format to express SAS date like this  Jan012012 in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/what-format-to-express-SAS-date-like-this-Jan012012/m-p/86105#M24580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how you want to use it, but the following achieves the desired result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input term date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; x= compress(put(term,worddate12.)," ,");&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;14jun2012&lt;/P&gt;&lt;P&gt;28feb2011&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2012 13:54:09 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2012-08-07T13:54:09Z</dc:date>
    <item>
      <title>what format to express SAS date like this  Jan012012</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/what-format-to-express-SAS-date-like-this-Jan012012/m-p/86103#M24578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone&lt;/P&gt;&lt;P&gt;I can use %put %sysfunc(date(),monyy7);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to give a date format like&amp;nbsp; AUG2012,but this doen't include date&lt;/P&gt;&lt;P&gt;what format we can use to express date like&amp;nbsp; AUG082012??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 13:33:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/what-format-to-express-SAS-date-like-this-Jan012012/m-p/86103#M24578</guid>
      <dc:creator>Mike_Davis</dc:creator>
      <dc:date>2012-08-07T13:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: what format to express SAS date like this  Jan012012</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/what-format-to-express-SAS-date-like-this-Jan012012/m-p/86104#M24579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the "formats by category" page: &lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a001263753.htm"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a001263753.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 13:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/what-format-to-express-SAS-date-like-this-Jan012012/m-p/86104#M24579</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2012-08-07T13:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: what format to express SAS date like this  Jan012012</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/what-format-to-express-SAS-date-like-this-Jan012012/m-p/86105#M24580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how you want to use it, but the following achieves the desired result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input term date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; x= compress(put(term,worddate12.)," ,");&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;14jun2012&lt;/P&gt;&lt;P&gt;28feb2011&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 13:54:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/what-format-to-express-SAS-date-like-this-Jan012012/m-p/86105#M24580</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-08-07T13:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: what format to express SAS date like this  Jan012012</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/what-format-to-express-SAS-date-like-this-Jan012012/m-p/86106#M24581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why wouldn't you just use &amp;amp;SYSDATE9?&amp;nbsp; It is there for the taking, and wouldn't that be easier to read?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really want to rearrange it, you could use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let mydate = %substr(&amp;amp;sysdate9,3,3)%substr(&amp;amp;sysdate9,1,2)%substr(&amp;amp;sysdate9,6,4);&lt;BR /&gt;%put &amp;amp;mydate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 14:24:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/what-format-to-express-SAS-date-like-this-Jan012012/m-p/86106#M24581</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2012-08-07T14:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: what format to express SAS date like this  Jan012012</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/what-format-to-express-SAS-date-like-this-Jan012012/m-p/86107#M24582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Art,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.%put %sysfunc(compress("abc_%sysfunc(date(),worddate12.)"," ,"));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.%put abc_%sysfunc(date(),Monname3)%sysfunc(strip(%sysfunc(date(),day)))_%sysfunc(strip(%sysfunc(date(),year)));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 15:12:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/what-format-to-express-SAS-date-like-this-Jan012012/m-p/86107#M24582</guid>
      <dc:creator>Mike_Davis</dc:creator>
      <dc:date>2012-08-07T15:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: what format to express SAS date like this  Jan012012</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/what-format-to-express-SAS-date-like-this-Jan012012/m-p/86108#M24583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe &amp;amp;sysdate value is the date of the SAS section opened.not the current time.if the SAS section has opened for a long time,&lt;/P&gt;&lt;P&gt;this value could not express the current date we need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 15:15:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/what-format-to-express-SAS-date-like-this-Jan012012/m-p/86108#M24583</guid>
      <dc:creator>Mike_Davis</dc:creator>
      <dc:date>2012-08-07T15:15:58Z</dc:date>
    </item>
  </channel>
</rss>

