Date: Tue, 19 Jan 2010 09:24:16 -0600
Reply-To: yingtao <yingtaoliu@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: yingtao <yingtaoliu@GMAIL.COM>
Subject: Re: rollup
In-Reply-To: <20e5d12f1001190143h276e829ds9cff9a9571207708@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Daniel, by using 'end' alignment the end date of Feb will be provided directly.
data see1;
do z=1 to 6;
ini=mdy(01,01,2008+z-1);
end=intnx('month',ini,1,'end');
output;
end;
format ini end date9.;
run;
Tao
|