<?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: moving back date in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/moving-back-date/m-p/497466#M72467</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input a yymmdd10.;
format a yymmdd10.;
cards;                                  
19850331
19850630
19850930
19851231
19860331
19860930
19861231
19870331
;

data want;
set have;
b=intnx('year',a,-1,'e');
format b yymmdd10.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 20 Sep 2018 17:08:57 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2018-09-20T17:08:57Z</dc:date>
    <item>
      <title>moving back date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/moving-back-date/m-p/497462#M72466</link>
      <description>&lt;P&gt;I have dates in column A and I want to move back like that&amp;nbsp;&lt;STRONG&gt;column B&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Column B give the date at the end of the year before the date in column A&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;column A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;19850331&lt;/P&gt;
&lt;P&gt;19850630&lt;/P&gt;
&lt;P&gt;19850930&lt;/P&gt;
&lt;P&gt;19851231&lt;/P&gt;
&lt;P&gt;19860331&lt;/P&gt;
&lt;P&gt;19860930&lt;/P&gt;
&lt;P&gt;19861231&lt;/P&gt;
&lt;P&gt;19870331&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;column B&lt;/P&gt;
&lt;P&gt;19841231&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;19841231&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;19841231&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;19841231&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;19851231&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;19851231&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;19851231&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;19861231&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 17:01:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/moving-back-date/m-p/497462#M72466</guid>
      <dc:creator>sasphd</dc:creator>
      <dc:date>2018-09-20T17:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: moving back date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/moving-back-date/m-p/497466#M72467</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input a yymmdd10.;
format a yymmdd10.;
cards;                                  
19850331
19850630
19850930
19851231
19860331
19860930
19861231
19870331
;

data want;
set have;
b=intnx('year',a,-1,'e');
format b yymmdd10.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Sep 2018 17:08:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/moving-back-date/m-p/497466#M72467</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-09-20T17:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: moving back date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/moving-back-date/m-p/497470#M72468</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and if I want just to come back by one month what I should do&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 17:12:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/moving-back-date/m-p/497470#M72468</guid>
      <dc:creator>sasphd</dc:creator>
      <dc:date>2018-09-20T17:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: moving back date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/moving-back-date/m-p/497472#M72469</link>
      <description>&lt;P&gt;Do you mean previous month of the same year and the last(end) date of the month?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 17:19:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/moving-back-date/m-p/497472#M72469</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-09-20T17:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: moving back date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/moving-back-date/m-p/497482#M72470</link>
      <description>yes</description>
      <pubDate>Thu, 20 Sep 2018 17:32:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/moving-back-date/m-p/497482#M72470</guid>
      <dc:creator>sasphd</dc:creator>
      <dc:date>2018-09-20T17:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: moving back date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/moving-back-date/m-p/497488#M72471</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
b=intnx('month',a,-1,'e');
format b yymmdd10.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Sep 2018 17:37:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/moving-back-date/m-p/497488#M72471</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-09-20T17:37:07Z</dc:date>
    </item>
  </channel>
</rss>

