<?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 split a date into mm ,dd and yy ? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781433#M31782</link>
    <description>jan2010 05mar2010 05jan2010 25jul2010&lt;BR /&gt;feb2010 05mar2010 05jan2010 25jul2010</description>
    <pubDate>Sat, 20 Nov 2021 06:22:20 GMT</pubDate>
    <dc:creator>u52766097</dc:creator>
    <dc:date>2021-11-20T06:22:20Z</dc:date>
    <item>
      <title>How to split a date into mm ,dd and yy ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781428#M31778</link>
      <description>&lt;P&gt;&amp;nbsp;How can I split these dates into mm , yy and dd for full dates and yy, and&amp;nbsp; mm for partial dates?&amp;nbsp; These dates are character values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;feb2010 05mar2010 05jan2010 25jul2010&amp;nbsp;&lt;BR /&gt;aug2010&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 05:07:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781428#M31778</guid>
      <dc:creator>u52766097</dc:creator>
      <dc:date>2021-11-20T05:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a date into mm ,dd and yy ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781429#M31779</link>
      <description>&lt;P&gt;Use SUBSTR() to extract parts of strings, and LENGTH() to determine if a day is present or not.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 06:05:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781429#M31779</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-11-20T06:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a date into mm ,dd and yy ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781431#M31780</link>
      <description>&lt;P&gt;I tried with ' substr ' funcation , it worked but if we have to change mm, yy and dd into numeric form and create a date format for partial date&amp;nbsp; ,how can we do that?&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 06:14:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781431#M31780</guid>
      <dc:creator>u52766097</dc:creator>
      <dc:date>2021-11-20T06:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a date into mm ,dd and yy ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781432#M31781</link>
      <description>&lt;P&gt;Please show which values you want to get for each of your example strings.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 06:20:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781432#M31781</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-11-20T06:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a date into mm ,dd and yy ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781433#M31782</link>
      <description>jan2010 05mar2010 05jan2010 25jul2010&lt;BR /&gt;feb2010 05mar2010 05jan2010 25jul2010</description>
      <pubDate>Sat, 20 Nov 2021 06:22:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781433#M31782</guid>
      <dc:creator>u52766097</dc:creator>
      <dc:date>2021-11-20T06:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a date into mm ,dd and yy ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781434#M31783</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  date = '05jan2010';
  date_num = input(date,date9.);
  format date_num ddmmyy10.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 20 Nov 2021 06:24:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781434#M31783</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-11-20T06:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a date into mm ,dd and yy ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781435#M31784</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/364694"&gt;@u52766097&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;jan2010 05mar2010 05jan2010 25jul2010&lt;BR /&gt;feb2010 05mar2010 05jan2010 25jul2010&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;And which separate numeric day, month and year values do you want to get for each of these strings?&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 06:27:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781435#M31784</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-11-20T06:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a date into mm ,dd and yy ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781436#M31785</link>
      <description>data have;&lt;BR /&gt;input aestdtc : $9 aeendtc :$9. rfxstdc : $9. rfxendtc : $9.;&lt;BR /&gt;datalines;&lt;BR /&gt;11jan2010 09mar2010 05jan2010 25jul2010&lt;BR /&gt;21jan2010 05mar2010 05jan2010 25jul2010&lt;BR /&gt;jan2010 05mar2010 05jan2010 25jul2010&lt;BR /&gt;feb2010 05mar2010 05jan2010 25jul2010&lt;BR /&gt;aug2010 05mar2010 05jan2010 25jul2010&lt;BR /&gt;05mar2010 05jan2010 25jul2010&lt;BR /&gt;04jan2010 05jan2010 25jul2010&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;I need all the dates in numeric form, like below-&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Nov 2021 07:00:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781436#M31785</guid>
      <dc:creator>u52766097</dc:creator>
      <dc:date>2021-11-20T07:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a date into mm ,dd and yy ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781437#M31786</link>
      <description>10-01-2010 05-03-2010 05-01-2010 25-07-2010&lt;BR /&gt;01-01-2010 05-03-2010 05-01-2010 25-07-2010&lt;BR /&gt;01-2010 05-03-2010 05-01-2010 25-07-l2010&lt;BR /&gt;02-2010 05-03-2010 05j-01-2010 25j-07-2010&lt;BR /&gt;08-2010 05-03-2010 05-01-2010 25-07-2010</description>
      <pubDate>Sat, 20 Nov 2021 07:04:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781437#M31786</guid>
      <dc:creator>u52766097</dc:creator>
      <dc:date>2021-11-20T07:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a date into mm ,dd and yy ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781441#M31789</link>
      <description>&lt;P&gt;And which day of the month needs to be set from an incomplete string?&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 09:12:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-split-a-date-into-mm-dd-and-yy/m-p/781441#M31789</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-11-20T09:12:38Z</dc:date>
    </item>
  </channel>
</rss>

