<?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 extract date iso 8601 format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/extract-date-iso-8601-format/m-p/353914#M82678</link>
    <description>&lt;P&gt;what functions can I use to extract&amp;nbsp;&lt;SPAN&gt;2010-12-28 from '&lt;/SPAN&gt;2010-12-28T10:15' string?&lt;/P&gt;&lt;P&gt;What is the syntax to convert it (&lt;SPAN&gt;2010-12-28)&lt;/SPAN&gt;&amp;nbsp;to numberic &lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2017 21:44:36 GMT</pubDate>
    <dc:creator>buddha_d</dc:creator>
    <dc:date>2017-04-26T21:44:36Z</dc:date>
    <item>
      <title>extract date iso 8601 format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/extract-date-iso-8601-format/m-p/353914#M82678</link>
      <description>&lt;P&gt;what functions can I use to extract&amp;nbsp;&lt;SPAN&gt;2010-12-28 from '&lt;/SPAN&gt;2010-12-28T10:15' string?&lt;/P&gt;&lt;P&gt;What is the syntax to convert it (&lt;SPAN&gt;2010-12-28)&lt;/SPAN&gt;&amp;nbsp;to numberic &lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 21:44:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/extract-date-iso-8601-format/m-p/353914#M82678</guid>
      <dc:creator>buddha_d</dc:creator>
      <dc:date>2017-04-26T21:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: extract date iso 8601 format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/extract-date-iso-8601-format/m-p/353924#M82684</link>
      <description>&lt;P&gt;If you only want the date portion this should work:&lt;/P&gt;
&lt;PRE&gt;data want;
   str='2010-12-28T10:15';
   date= input(str,yymmdd10.);
   format date yymmdd10.;
run;&lt;/PRE&gt;
&lt;P&gt;Note that anything that is not an actual valid 10 character date in the first 10 characters will generate an error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 22:02:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/extract-date-iso-8601-format/m-p/353924#M82684</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-26T22:02:30Z</dc:date>
    </item>
  </channel>
</rss>

