<?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: How to convert date format of 01SEP2015 to number format like 20340. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-date-format-of-01SEP2015-to-number-format-like/m-p/228295#M267926</link>
    <description>&lt;P&gt;If you have a date variable then it is already a number, then number of days since 01JAN1960. Just display it using a different format.&lt;/P&gt;
&lt;P&gt;If you have '01SEP2015' in a character variable or input file then you can use the INFORMAT of DATE9 to convert it into a SAS date value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;datestr='01SEP2015';
dateval=input(datestr,date9.);
format dateval date9. ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 02 Oct 2015 22:49:39 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2015-10-02T22:49:39Z</dc:date>
    <item>
      <title>How to convert date format of 01SEP2015 to number format like 20340.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-date-format-of-01SEP2015-to-number-format-like/m-p/228294#M267925</link>
      <description>&lt;P&gt;How to convert date format of 01SEP2015 to number format like 20340.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 22:41:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-date-format-of-01SEP2015-to-number-format-like/m-p/228294#M267925</guid>
      <dc:creator>archana</dc:creator>
      <dc:date>2015-10-02T22:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert date format of 01SEP2015 to number format like 20340.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-date-format-of-01SEP2015-to-number-format-like/m-p/228295#M267926</link>
      <description>&lt;P&gt;If you have a date variable then it is already a number, then number of days since 01JAN1960. Just display it using a different format.&lt;/P&gt;
&lt;P&gt;If you have '01SEP2015' in a character variable or input file then you can use the INFORMAT of DATE9 to convert it into a SAS date value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;datestr='01SEP2015';
dateval=input(datestr,date9.);
format dateval date9. ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Oct 2015 22:49:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-date-format-of-01SEP2015-to-number-format-like/m-p/228295#M267926</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-10-02T22:49:39Z</dc:date>
    </item>
  </channel>
</rss>

