<?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: questions about converting time into month in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/questions-about-converting-time-into-month/m-p/617223#M180817</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you are always so helpful! Give you a BIG thumb up!&lt;/P&gt;&lt;P&gt;Yes, that worked!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jan 2020 15:46:07 GMT</pubDate>
    <dc:creator>superbug</dc:creator>
    <dc:date>2020-01-14T15:46:07Z</dc:date>
    <item>
      <title>questions about converting time into month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/questions-about-converting-time-into-month/m-p/617212#M180814</link>
      <description>&lt;P&gt;I want to convert time between to time points into month. if using (date2 - date1)/30, that doesn't take into account of months that have 31 days. what's the quick way of taking to account of month that have 30 and 31 days?&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 15:11:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/questions-about-converting-time-into-month/m-p/617212#M180814</guid>
      <dc:creator>superbug</dc:creator>
      <dc:date>2020-01-14T15:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: questions about converting time into month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/questions-about-converting-time-into-month/m-p/617213#M180815</link>
      <description>&lt;P&gt;I am guessing what you prolly need is to use INTCK function to get the count of monthly intervals between 2 dates&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;intck('month',date1,date2,'c');

/*or*/

intck('month',date1,date2);

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; A small test to understand&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
%let date1='29dec2019'd;
%let date2='05jan2020'd;

data test;
 month_discrete=intck('month',&amp;amp;date1,&amp;amp;date2);
 month_continuous=intck('month',&amp;amp;date1,&amp;amp;date2,'c');
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Jan 2020 15:19:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/questions-about-converting-time-into-month/m-p/617213#M180815</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-01-14T15:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: questions about converting time into month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/questions-about-converting-time-into-month/m-p/617223#M180817</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you are always so helpful! Give you a BIG thumb up!&lt;/P&gt;&lt;P&gt;Yes, that worked!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 15:46:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/questions-about-converting-time-into-month/m-p/617223#M180817</guid>
      <dc:creator>superbug</dc:creator>
      <dc:date>2020-01-14T15:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: questions about converting time into month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/questions-about-converting-time-into-month/m-p/617358#M180900</link>
      <description>Then mark this topic as solved.  It makes it easier for everybody to know in advance which topics are solved and which are not.</description>
      <pubDate>Wed, 15 Jan 2020 02:00:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/questions-about-converting-time-into-month/m-p/617358#M180900</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2020-01-15T02:00:16Z</dc:date>
    </item>
  </channel>
</rss>

