<?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 years and days conversion in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/years-and-days-conversion/m-p/532836#M146039</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;if i ve been typing this in my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where time &amp;gt;224 days;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what if i want time less than 5 years for my analysis. how to code that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Feb 2019 04:25:11 GMT</pubDate>
    <dc:creator>dr_101</dc:creator>
    <dc:date>2019-02-05T04:25:11Z</dc:date>
    <item>
      <title>years and days conversion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/years-and-days-conversion/m-p/532836#M146039</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;if i ve been typing this in my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where time &amp;gt;224 days;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what if i want time less than 5 years for my analysis. how to code that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 04:25:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/years-and-days-conversion/m-p/532836#M146039</guid>
      <dc:creator>dr_101</dc:creator>
      <dc:date>2019-02-05T04:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: years and days conversion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/years-and-days-conversion/m-p/532838#M146040</link>
      <description>&lt;PRE&gt;where time &amp;gt;224 days&lt;/PRE&gt;
&lt;P&gt;...is not valid SAS code.&lt;/P&gt;
&lt;P&gt;Please post your actual code. Also tell us what's actually stored in variable TIME - SAS TIME, DATE or DATETIME value or something else? If you don't understand what I'm asking you for then have a read here:&amp;nbsp; &lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/65287/HTML/default/viewer.htm#p1wj0wt2ebe2a0n1lv4lem9hdc0v.htm&amp;nbsp;" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/65287/HTML/default/viewer.htm#p1wj0wt2ebe2a0n1lv4lem9hdc0v.htm&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 04:49:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/years-and-days-conversion/m-p/532838#M146040</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-02-05T04:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: years and days conversion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/years-and-days-conversion/m-p/532859#M146055</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;Check out the INTNX function, it will certainly help you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something like INTNX( 'year', time, -5 )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 07:55:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/years-and-days-conversion/m-p/532859#M146055</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2019-02-05T07:55:07Z</dc:date>
    </item>
  </channel>
</rss>

