<?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 Formatting a Date in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Formatting-a-Date/m-p/46726#M12474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Art, it worked. much appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2011 04:13:35 GMT</pubDate>
    <dc:creator>Wickywick</dc:creator>
    <dc:date>2011-08-11T04:13:35Z</dc:date>
    <item>
      <title>Formatting a Date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Formatting-a-Date/m-p/46724#M12472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one of the tables I refer to, the date appears as 31MAR2012:00:00:00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I drop the time component of this and get the date as '31MAR2012'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 03:50:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Formatting-a-Date/m-p/46724#M12472</guid>
      <dc:creator>Wickywick</dc:creator>
      <dc:date>2011-08-11T03:50:30Z</dc:date>
    </item>
    <item>
      <title>Formatting a Date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Formatting-a-Date/m-p/46725#M12473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the field is already a SAS date_time field, then you only have to refer to it with a function, namely:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; date_you_want=datepart(whateverthedatetimefieldiscalled);&lt;/P&gt;&lt;P&gt;You also may want to add a format statement of the nature:&lt;/P&gt;&lt;P&gt;format date_you_want date9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, if the field is really only a string in a character variable, you would first have to input it using a datetime informat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 03:56:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Formatting-a-Date/m-p/46725#M12473</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-08-11T03:56:15Z</dc:date>
    </item>
    <item>
      <title>Formatting a Date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Formatting-a-Date/m-p/46726#M12474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Art, it worked. much appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 04:13:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Formatting-a-Date/m-p/46726#M12474</guid>
      <dc:creator>Wickywick</dc:creator>
      <dc:date>2011-08-11T04:13:35Z</dc:date>
    </item>
  </channel>
</rss>

