<?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: Converting SASdate to Character and numeric in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Converting-SASdate-to-Character-and-numeric/m-p/50144#M13638</link>
    <description>Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
using sas dates site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Thu, 15 Jul 2010 14:05:30 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-07-15T14:05:30Z</dc:date>
    <item>
      <title>Converting SASdate to Character and numeric</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Converting-SASdate-to-Character-and-numeric/m-p/50142#M13636</link>
      <description>How to convert the SAS data to character and numeric form?</description>
      <pubDate>Thu, 15 Jul 2010 11:34:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Converting-SASdate-to-Character-and-numeric/m-p/50142#M13636</guid>
      <dc:creator>Anilsk</dc:creator>
      <dc:date>2010-07-15T11:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SASdate to Character and numeric</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Converting-SASdate-to-Character-and-numeric/m-p/50143#M13637</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
The SAS dates are stored as numeric by default. You should have a look to the different formats that you can apply to dates.&lt;BR /&gt;
&lt;BR /&gt;
If you want to convert a SAS date into a character then I suggest you to use the put statement (refer to the online doc for more detailed informations).&lt;BR /&gt;
&lt;BR /&gt;
e.g.&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
       set &lt;INPUTDATASET&gt;;&lt;BR /&gt;
&lt;BR /&gt;
       DateAsChar = put(DateVar, ddmmyy10.);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I hope it helps.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Florent&lt;/INPUTDATASET&gt;</description>
      <pubDate>Thu, 15 Jul 2010 12:46:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Converting-SASdate-to-Character-and-numeric/m-p/50143#M13637</guid>
      <dc:creator>Florent</dc:creator>
      <dc:date>2010-07-15T12:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SASdate to Character and numeric</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Converting-SASdate-to-Character-and-numeric/m-p/50144#M13638</link>
      <description>Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
using sas dates site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 15 Jul 2010 14:05:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Converting-SASdate-to-Character-and-numeric/m-p/50144#M13638</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-07-15T14:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SASdate to Character and numeric</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Converting-SASdate-to-Character-and-numeric/m-p/50145#M13639</link>
      <description>Thanks Florent, I was able to convert it successfully.</description>
      <pubDate>Fri, 16 Jul 2010 04:59:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Converting-SASdate-to-Character-and-numeric/m-p/50145#M13639</guid>
      <dc:creator>Anilsk</dc:creator>
      <dc:date>2010-07-16T04:59:44Z</dc:date>
    </item>
  </channel>
</rss>

