<?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: What is the &amp;quot;month12.7&amp;quot; format? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-quot-month12-7-quot-format/m-p/801549#M315453</link>
    <description>&lt;P&gt;Example input data? Example code? Example output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The documentation for the MONTHw. format does not show a decimal component and would display the month number of a date value.&lt;/P&gt;
&lt;P&gt;Example displaying the month a date. Nothing to do with quarters.&lt;/P&gt;
&lt;PRE&gt;61   data example;
62      x = '15Jun2021'd;
63      put x=date9. 'Month number: ' x=month12.7;
64   run;

x=15JUN2021 Month number: x=6
&lt;/PRE&gt;</description>
    <pubDate>Thu, 10 Mar 2022 23:28:23 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-03-10T23:28:23Z</dc:date>
    <item>
      <title>What is the "month12.7" format?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-quot-month12-7-quot-format/m-p/801547#M315452</link>
      <description>&lt;P&gt;Looks like it is throwing the end of June quarter. How do I get other quarter? Eg. March, December?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 23:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-quot-month12-7-quot-format/m-p/801547#M315452</guid>
      <dc:creator>ywon111</dc:creator>
      <dc:date>2022-03-10T23:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: What is the "month12.7" format?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-quot-month12-7-quot-format/m-p/801549#M315453</link>
      <description>&lt;P&gt;Example input data? Example code? Example output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The documentation for the MONTHw. format does not show a decimal component and would display the month number of a date value.&lt;/P&gt;
&lt;P&gt;Example displaying the month a date. Nothing to do with quarters.&lt;/P&gt;
&lt;PRE&gt;61   data example;
62      x = '15Jun2021'd;
63      put x=date9. 'Month number: ' x=month12.7;
64   run;

x=15JUN2021 Month number: x=6
&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Mar 2022 23:28:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-quot-month12-7-quot-format/m-p/801549#M315453</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-03-10T23:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: What is the "month12.7" format?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-quot-month12-7-quot-format/m-p/801603#M315485</link>
      <description>&lt;P&gt;Is it possible that you are not talking about formats, but the first argument to a INTNX or INTCK function?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 07:00:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-quot-month12-7-quot-format/m-p/801603#M315485</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-03-11T07:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: What is the "month12.7" format?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-quot-month12-7-quot-format/m-p/801641#M315504</link>
      <description>&lt;P&gt;It seems you are talking about INTNX() .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data _null_;
today=date();
start_july1=intnx('month12.7',today,0,'e');
start_july2=intnx('year.7',today,0,'e');

put today=  yymmdd10.  start_july1= yymmdd10.  start_july2=  yymmdd10. ;
run;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Mar 2022 11:55:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-quot-month12-7-quot-format/m-p/801641#M315504</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-03-11T11:55:43Z</dc:date>
    </item>
  </channel>
</rss>

