<?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: Date Change in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Date-Change/m-p/45978#M12179</link>
    <description>Thanks Scott</description>
    <pubDate>Fri, 22 Jan 2010 22:44:39 GMT</pubDate>
    <dc:creator>ren2010</dc:creator>
    <dc:date>2010-01-22T22:44:39Z</dc:date>
    <item>
      <title>Date Change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Date-Change/m-p/45976#M12177</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have a requirement suppose I have customer data(name,enrolldate)&lt;BR /&gt;
I want to change the enrolldate to the end of that particular month&lt;BR /&gt;
&lt;BR /&gt;
eg: james 12/01/2007&lt;BR /&gt;
     roby    11/10/2009&lt;BR /&gt;
     mary   02/26/2009&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
my desired output is:&lt;BR /&gt;
 &lt;BR /&gt;
     james 12/31/2007&lt;BR /&gt;
     roby    11/30/2009&lt;BR /&gt;
     mary   02/28/2009&lt;BR /&gt;
&lt;BR /&gt;
 Please help.</description>
      <pubDate>Fri, 22 Jan 2010 21:18:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Date-Change/m-p/45976#M12177</guid>
      <dc:creator>ren2010</dc:creator>
      <dc:date>2010-01-22T21:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date Change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Date-Change/m-p/45977#M12178</link>
      <description>Using a DATA step, explore using the INTNX function in a SAS assignment statement, either to create a new variable (with the desired output FORMAT) or to change the value of an existing variable.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Recommended Google advanced search argument:&lt;BR /&gt;
&lt;BR /&gt;
change date end of month site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
intnx function site:sas.com</description>
      <pubDate>Fri, 22 Jan 2010 22:21:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Date-Change/m-p/45977#M12178</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-01-22T22:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date Change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Date-Change/m-p/45978#M12179</link>
      <description>Thanks Scott</description>
      <pubDate>Fri, 22 Jan 2010 22:44:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Date-Change/m-p/45978#M12179</guid>
      <dc:creator>ren2010</dc:creator>
      <dc:date>2010-01-22T22:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date Change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Date-Change/m-p/45979#M12180</link>
      <description>data initial;&lt;BR /&gt;
	input name $ customer_date MMDDYY10.;&lt;BR /&gt;
	datalines;&lt;BR /&gt;
		james 12/01/2007&lt;BR /&gt;
		roby 11/10/2009&lt;BR /&gt;
		mary 02/26/2009&lt;BR /&gt;
		;&lt;BR /&gt;
run;&lt;BR /&gt;
	&lt;BR /&gt;
data end_of_month;&lt;BR /&gt;
	set initial;&lt;BR /&gt;
	c_date=intnx('month', customer_date, 0, 'end');&lt;BR /&gt;
&lt;BR /&gt;
proc print&lt;BR /&gt;
	data=end_of_month;&lt;BR /&gt;
	format customer_date c_date MMDDYY10.;&lt;BR /&gt;
run;</description>
      <pubDate>Mon, 25 Jan 2010 18:49:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Date-Change/m-p/45979#M12180</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-01-25T18:49:25Z</dc:date>
    </item>
  </channel>
</rss>

