<?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: Change variable formats in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Change-variable-formats/m-p/137881#M27864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably not the best way, but you can use the putc function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let max_date=21May2014;&lt;/P&gt;&lt;P&gt;%put &amp;amp;max_date.;&lt;/P&gt;&lt;P&gt;%let max_date=%sysfunc(putn("&amp;amp;max_date"d, mmddyy10.));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%put &amp;amp;max_date.;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2014 14:40:08 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2014-06-11T14:40:08Z</dc:date>
    <item>
      <title>Change variable formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-variable-formats/m-p/137880#M27863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;I have a macro variable that is in date9. format&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&amp;amp;max_date = 21may2014&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I would like to change this format to mmddyy10. so it looks better in the title on the results page.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Any suggestions on this?&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I have googled it but been unsuccessful in finding an answer.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 14:34:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-variable-formats/m-p/137880#M27863</guid>
      <dc:creator>dsbihill</dc:creator>
      <dc:date>2014-06-11T14:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change variable formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-variable-formats/m-p/137881#M27864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably not the best way, but you can use the putc function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let max_date=21May2014;&lt;/P&gt;&lt;P&gt;%put &amp;amp;max_date.;&lt;/P&gt;&lt;P&gt;%let max_date=%sysfunc(putn("&amp;amp;max_date"d, mmddyy10.));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%put &amp;amp;max_date.;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 14:40:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-variable-formats/m-p/137881#M27864</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-06-11T14:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change variable formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-variable-formats/m-p/137882#M27865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works like a charm, thank you very much for the quick reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 14:43:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-variable-formats/m-p/137882#M27865</guid>
      <dc:creator>dsbihill</dc:creator>
      <dc:date>2014-06-11T14:43:45Z</dc:date>
    </item>
  </channel>
</rss>

