<?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 how to calculate the difference in year variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-calculate-the-difference-in-year-variables/m-p/502543#M134161</link>
    <description>&lt;P&gt;I have a dataset which has manufacturing year&amp;nbsp; of flights as one of the variables and I want to calculate the year of use of those flights by calculating the difference between the manufacturing year and year 2015. How should I do that? Is there a function for the same?&lt;/P&gt;</description>
    <pubDate>Mon, 08 Oct 2018 22:26:27 GMT</pubDate>
    <dc:creator>preeti2890</dc:creator>
    <dc:date>2018-10-08T22:26:27Z</dc:date>
    <item>
      <title>how to calculate the difference in year variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-calculate-the-difference-in-year-variables/m-p/502543#M134161</link>
      <description>&lt;P&gt;I have a dataset which has manufacturing year&amp;nbsp; of flights as one of the variables and I want to calculate the year of use of those flights by calculating the difference between the manufacturing year and year 2015. How should I do that? Is there a function for the same?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 22:26:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-calculate-the-difference-in-year-variables/m-p/502543#M134161</guid>
      <dc:creator>preeti2890</dc:creator>
      <dc:date>2018-10-08T22:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate the difference in year variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-calculate-the-difference-in-year-variables/m-p/502547#M134164</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If only the year is known (not a day within the year), then just subtract the years:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Age = ManufactYear - 2015;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 22:49:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-calculate-the-difference-in-year-variables/m-p/502547#M134164</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-10-08T22:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate the difference in year variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-calculate-the-difference-in-year-variables/m-p/502806#M134278</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can calculate year difference by using below program....&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
M_year='08oct2012'D;
y_year=intck('YEAR',M_YEAR,'09OCT2015'D);
put y_year;
run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Oct 2018 16:49:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-calculate-the-difference-in-year-variables/m-p/502806#M134278</guid>
      <dc:creator>singhsahab</dc:creator>
      <dc:date>2018-10-09T16:49:11Z</dc:date>
    </item>
  </channel>
</rss>

