<?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 Create year, month, qtr  using ddmmyy10. FORMAT in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-year-month-qtr-using-ddmmyy10-FORMAT/m-p/389412#M93366</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Trying to create year, qtr, month from a date in ddmmyy10. format - not working, any ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The date field is a text field with $10 length.&lt;/P&gt;&lt;P&gt;'01/31/2017'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 20 Aug 2017 21:52:30 GMT</pubDate>
    <dc:creator>AZIQ1</dc:creator>
    <dc:date>2017-08-20T21:52:30Z</dc:date>
    <item>
      <title>Create year, month, qtr  using ddmmyy10. FORMAT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-year-month-qtr-using-ddmmyy10-FORMAT/m-p/389412#M93366</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Trying to create year, qtr, month from a date in ddmmyy10. format - not working, any ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The date field is a text field with $10 length.&lt;/P&gt;&lt;P&gt;'01/31/2017'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2017 21:52:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-year-month-qtr-using-ddmmyy10-FORMAT/m-p/389412#M93366</guid>
      <dc:creator>AZIQ1</dc:creator>
      <dc:date>2017-08-20T21:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create year, month, qtr  using ddmmyy10. FORMAT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-year-month-qtr-using-ddmmyy10-FORMAT/m-p/389413#M93367</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/23718"&gt;@AZIQ1&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Trying to create year, qtr, month from a date in ddmmyy10. format - not working, any ideas?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The date field is a text field with $10 length.&lt;/P&gt;
&lt;P&gt;'01/31/2017'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is not a ddmmyy, but a mmddyy format. Use the mmddyy informat in an input function to convert your string to a SAS date variable, and then you can use the year(), month() and qtr() functions to extract the values you want.&lt;/P&gt;
&lt;P&gt;If code that you wrote does not work as expected, post the code and the log.&lt;/P&gt;
&lt;P&gt;Use the proper posting windows ({i} or "little running man" icon) to preserve formatting.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2017 22:02:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-year-month-qtr-using-ddmmyy10-FORMAT/m-p/389413#M93367</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-08-20T22:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create year, month, qtr  using ddmmyy10. FORMAT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-year-month-qtr-using-ddmmyy10-FORMAT/m-p/389414#M93368</link>
      <description>Convert your date to a SAS date. &lt;BR /&gt;Use the relevant functions, the names match the terms you're using coincidentally. And as mentioned, if you have issues post your code, log and explain in detail what's not working.&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Aug 2017 22:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-year-month-qtr-using-ddmmyy10-FORMAT/m-p/389414#M93368</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-20T22:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create year, month, qtr  using ddmmyy10. FORMAT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-year-month-qtr-using-ddmmyy10-FORMAT/m-p/389415#M93369</link>
      <description>Thank you, it worked.</description>
      <pubDate>Sun, 20 Aug 2017 22:08:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-year-month-qtr-using-ddmmyy10-FORMAT/m-p/389415#M93369</guid>
      <dc:creator>AZIQ1</dc:creator>
      <dc:date>2017-08-20T22:08:55Z</dc:date>
    </item>
  </channel>
</rss>

