<?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: Date format change in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Date-format-change/m-p/349864#M81253</link>
    <description>&lt;P&gt;Well, I would never show you have to get a date with a two-digit year.&amp;nbsp; I hope this is close enough:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;length mydate $ 11;&lt;/P&gt;
&lt;P&gt;set have;&lt;/P&gt;
&lt;P&gt;mydate = put(input(mydate, mmddyy10.), date11.);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's assuming that 03/03/2017 is actually in MMDDYY form, rather than DDMMYY form.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2017 19:48:29 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2017-04-13T19:48:29Z</dc:date>
    <item>
      <title>Date format change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Date-format-change/m-p/349847#M81244</link>
      <description>Hi Team,&lt;BR /&gt;I am new in sas programming. Can anyone help me to build the logic of the below.&lt;BR /&gt;Here the date is assigned as a char And we are getting output in pdf as for example 03/03/2017. Now the requirement is to change the ouput date look to 03-MAR-17.&lt;BR /&gt;Please help me out how it is possible to do.&lt;BR /&gt;&lt;BR /&gt;Thsnks,&lt;BR /&gt;Puja</description>
      <pubDate>Thu, 13 Apr 2017 19:20:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Date-format-change/m-p/349847#M81244</guid>
      <dc:creator>PujaDas</dc:creator>
      <dc:date>2017-04-13T19:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Date-format-change/m-p/349851#M81246</link>
      <description>&lt;P&gt;You need to show how you're using the date and we can then show you how to change the format.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 19:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Date-format-change/m-p/349851#M81246</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-13T19:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Date-format-change/m-p/349856#M81248</link>
      <description>&lt;P&gt;1. Converting a character date to a SAS date: SASDateVariableName=input(yourdatevariable, anydtdte.);&lt;/P&gt;
&lt;P&gt;2. Assign the desired format: format &lt;SPAN&gt;ASDateVariableName&amp;nbsp;&lt;/SPAN&gt;mmddyyD10.;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other variants of that format can be found at:&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000590662.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000590662.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 19:31:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Date-format-change/m-p/349856#M81248</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-13T19:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Date-format-change/m-p/349864#M81253</link>
      <description>&lt;P&gt;Well, I would never show you have to get a date with a two-digit year.&amp;nbsp; I hope this is close enough:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;length mydate $ 11;&lt;/P&gt;
&lt;P&gt;set have;&lt;/P&gt;
&lt;P&gt;mydate = put(input(mydate, mmddyy10.), date11.);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's assuming that 03/03/2017 is actually in MMDDYY form, rather than DDMMYY form.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 19:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Date-format-change/m-p/349864#M81253</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-04-13T19:48:29Z</dc:date>
    </item>
  </channel>
</rss>

